summaryrefslogtreecommitdiff
path: root/tests/unit_tests/testLinearAlgebra/test_svd/testsvdim.sci
diff options
context:
space:
mode:
authorBrijeshcr2017-07-07 23:18:44 +0530
committerBrijeshcr2017-07-07 23:18:44 +0530
commit5e505bd97e1441011d27d3f07f94fe7271c5873f (patch)
tree4bcce04865c325221583b19b2be924ec0caf09c0 /tests/unit_tests/testLinearAlgebra/test_svd/testsvdim.sci
parente3bea007e2fae247b4d761bb50c7e28b16268405 (diff)
parent241bacc7e7b9ccca0bbcd1c8558454a323bfd0d3 (diff)
downloadScilab2C_fossee_old-5e505bd97e1441011d27d3f07f94fe7271c5873f.tar.gz
Scilab2C_fossee_old-5e505bd97e1441011d27d3f07f94fe7271c5873f.tar.bz2
Scilab2C_fossee_old-5e505bd97e1441011d27d3f07f94fe7271c5873f.zip
Changes Demo
Diffstat (limited to 'tests/unit_tests/testLinearAlgebra/test_svd/testsvdim.sci')
-rw-r--r--tests/unit_tests/testLinearAlgebra/test_svd/testsvdim.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit_tests/testLinearAlgebra/test_svd/testsvdim.sci b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdim.sci
new file mode 100644
index 0000000..16633cc
--- /dev/null
+++ b/tests/unit_tests/testLinearAlgebra/test_svd/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