summaryrefslogtreecommitdiff
path: root/tests/unit_tests/testLinearAlgebra/test_svd/testsvd.sci
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_tests/testLinearAlgebra/test_svd/testsvd.sci')
-rw-r--r--tests/unit_tests/testLinearAlgebra/test_svd/testsvd.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit_tests/testLinearAlgebra/test_svd/testsvd.sci b/tests/unit_tests/testLinearAlgebra/test_svd/testsvd.sci
new file mode 100644
index 0000000..c5da4cd
--- /dev/null
+++ b/tests/unit_tests/testLinearAlgebra/test_svd/testsvd.sci
@@ -0,0 +1,6 @@
+function testsvd()
+ disp(" ** SVD Function (Singular Value Decomposition)** ")
+ A = [1,2,3,11;4,5,6,12;7,8,9,13] // Matrix - A
+ s = svd(A) // Calling Function Sequence
+ disp(s)
+endfunction