diff options
Diffstat (limited to '2.3-1')
-rw-r--r-- | 2.3-1/jar/scilab_en_US_help.jar | bin | 90519 -> 90519 bytes | |||
-rw-r--r-- | 2.3-1/src/c/linearAlgebra/sqroot/dsqroota.c | 2 | ||||
-rw-r--r-- | 2.3-1/tests/unit_tests/testLinearAlgebra/testsqroot/testsqroot.sci | 5 |
3 files changed, 6 insertions, 1 deletions
diff --git a/2.3-1/jar/scilab_en_US_help.jar b/2.3-1/jar/scilab_en_US_help.jar Binary files differindex 459cfbb4..cef95e2f 100644 --- a/2.3-1/jar/scilab_en_US_help.jar +++ b/2.3-1/jar/scilab_en_US_help.jar diff --git a/2.3-1/src/c/linearAlgebra/sqroot/dsqroota.c b/2.3-1/src/c/linearAlgebra/sqroot/dsqroota.c index a9062e65..1ba97268 100644 --- a/2.3-1/src/c/linearAlgebra/sqroot/dsqroota.c +++ b/2.3-1/src/c/linearAlgebra/sqroot/dsqroota.c @@ -99,7 +99,7 @@ void dsqroota(double *inp,int row,int col, double *out){ printf("\n"); }*/ /*sqrt of S*/ - printf("%d ",rk); + //printf("%d ",rk); for(i=0;i<rk;i++){ for(j=0;j<rk;j++){ A[i*rk+j] = sqrt(S[i*row+j]); diff --git a/2.3-1/tests/unit_tests/testLinearAlgebra/testsqroot/testsqroot.sci b/2.3-1/tests/unit_tests/testLinearAlgebra/testsqroot/testsqroot.sci new file mode 100644 index 00000000..63db1f49 --- /dev/null +++ b/2.3-1/tests/unit_tests/testLinearAlgebra/testsqroot/testsqroot.sci @@ -0,0 +1,5 @@ +function testsqroot() + a = [1,2,3;4,5,6;7,8,9]; + e = sqroot(a); + disp(e) +endfunction |