summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests/testLinearAlgebra/testsvd/testsvdim.sci
diff options
context:
space:
mode:
authorBrijeshcr2017-07-07 17:09:19 +0530
committerBrijeshcr2017-07-07 17:09:19 +0530
commit282cbe9542cddac862b88d3431a18db9df781ba7 (patch)
tree2f3f8ed5c72b77cfec057c1e1511ecd0a9467d54 /2.3-1/tests/unit_tests/testLinearAlgebra/testsvd/testsvdim.sci
parent46da80312c4bc66bb5f16044c5c5597ac259d419 (diff)
parent8106d4ce6960cfd63c3a42171fdf5d52e46ccb06 (diff)
downloadScilab2C-282cbe9542cddac862b88d3431a18db9df781ba7.tar.gz
Scilab2C-282cbe9542cddac862b88d3431a18db9df781ba7.tar.bz2
Scilab2C-282cbe9542cddac862b88d3431a18db9df781ba7.zip
Linear Algebra changes by Sandeep
Diffstat (limited to '2.3-1/tests/unit_tests/testLinearAlgebra/testsvd/testsvdim.sci')
-rw-r--r--2.3-1/tests/unit_tests/testLinearAlgebra/testsvd/testsvdim.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/testLinearAlgebra/testsvd/testsvdim.sci b/2.3-1/tests/unit_tests/testLinearAlgebra/testsvd/testsvdim.sci
new file mode 100644
index 00000000..16633cce
--- /dev/null
+++ b/2.3-1/tests/unit_tests/testLinearAlgebra/testsvd/testsvdim.sci
@@ -0,0 +1,6 @@
+// Function double_complex - test data.
+function svdim()
+ b = [ (5.91+5.69*%i),(3.15-4.08*%i),(4.89+4.20*%i),(7.09+2.72*%i);(1.89+3.27*%i),(4.10+6.70*%i),(7.78+4.06*%i),(4.57+2.07*%i);(3.28+3.84*%i),(-0.79+7.21*%i),(3.88+3.30*%i),(3.84+1.19*%i)]
+ s = svd(b)
+ disp(s)
+endfunction