diff options
author | Sandeep Gupta | 2017-07-07 03:18:11 +0530 |
---|---|---|
committer | Sandeep Gupta | 2017-07-07 03:18:11 +0530 |
commit | 8c4c8c96d1862bf3be1259e0ed0d6beaea8f6c5f (patch) | |
tree | 067be3795e4d06ee21b3af38f590419368ba69a3 | |
parent | 4be41c665ffe107536b4259c8e85c109cc0c2f07 (diff) | |
download | Scilab2C-8c4c8c96d1862bf3be1259e0ed0d6beaea8f6c5f.tar.gz Scilab2C-8c4c8c96d1862bf3be1259e0ed0d6beaea8f6c5f.tar.bz2 Scilab2C-8c4c8c96d1862bf3be1259e0ed0d6beaea8f6c5f.zip |
Test functions added & LinearAlgebra Changes
-rw-r--r-- | 2.3-1/jar/scilab_en_US_help.jar | bin | 90519 -> 90519 bytes | |||
-rw-r--r-- | 2.3-1/tests/unit_tests/testLinearAlgebra/testfullrf/testfullrf.sci | 7 | ||||
-rw-r--r-- | 2.3-1/tests/unit_tests/testLinearAlgebra/testgivens/testgivens.sci | 7 | ||||
-rw-r--r-- | 2.3-1/tests/unit_tests/testLinearAlgebra/testhouseholder/testhouseholder.sci | 6 | ||||
-rw-r--r-- | 2.3-1/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci | 8 | ||||
-rw-r--r-- | 2.3-1/tests/unit_tests/testLinearAlgebra/testrowcomp/testrcomp.sci | 6 |
6 files changed, 34 insertions, 0 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 cef95e2f..19dfea3d 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/tests/unit_tests/testLinearAlgebra/testfullrf/testfullrf.sci b/2.3-1/tests/unit_tests/testLinearAlgebra/testfullrf/testfullrf.sci new file mode 100644 index 00000000..49d3c7a2 --- /dev/null +++ b/2.3-1/tests/unit_tests/testLinearAlgebra/testfullrf/testfullrf.sci @@ -0,0 +1,7 @@ +function testfullrf() + A = [1,2,3;4,5,6;7,8,9] + [Q,M,rk] = fullrf(A) + disp(Q) + disp(M) + disp(rk) +endfunction diff --git a/2.3-1/tests/unit_tests/testLinearAlgebra/testgivens/testgivens.sci b/2.3-1/tests/unit_tests/testLinearAlgebra/testgivens/testgivens.sci new file mode 100644 index 00000000..3ef0d284 --- /dev/null +++ b/2.3-1/tests/unit_tests/testLinearAlgebra/testgivens/testgivens.sci @@ -0,0 +1,7 @@ +function testgivens() + a = [1] + b = [2] + [u,c] = givens(a,b) + disp(u) + disp(c) +endfunction diff --git a/2.3-1/tests/unit_tests/testLinearAlgebra/testhouseholder/testhouseholder.sci b/2.3-1/tests/unit_tests/testLinearAlgebra/testhouseholder/testhouseholder.sci new file mode 100644 index 00000000..30b4c20e --- /dev/null +++ b/2.3-1/tests/unit_tests/testLinearAlgebra/testhouseholder/testhouseholder.sci @@ -0,0 +1,6 @@ +function testhouseholder() + A = [1;2;3;4;5] + B = [6;7;8;9;10] + u = householder(A,B) + disp(u) +endfunction diff --git a/2.3-1/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci b/2.3-1/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci new file mode 100644 index 00000000..292e1cba --- /dev/null +++ b/2.3-1/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci @@ -0,0 +1,8 @@ +function testQR() + A = [1,2,3;4,5,6] + [u,a,rk,e] = qr(A); + disp(u) + disp(a) + disp(rk) + disp(e) +endfunction diff --git a/2.3-1/tests/unit_tests/testLinearAlgebra/testrowcomp/testrcomp.sci b/2.3-1/tests/unit_tests/testLinearAlgebra/testrowcomp/testrcomp.sci new file mode 100644 index 00000000..f8da9482 --- /dev/null +++ b/2.3-1/tests/unit_tests/testLinearAlgebra/testrowcomp/testrcomp.sci @@ -0,0 +1,6 @@ +function testrcomp() + A = [1,2,3;4,5,6] + [u,rk] = rowcomp(A,"qr") + disp(u) + disp(rk) +endfunction |