summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests/testLinearAlgebra/testsva/testsvatol.sci
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/tests/unit_tests/testLinearAlgebra/testsva/testsvatol.sci')
-rw-r--r--2.3-1/tests/unit_tests/testLinearAlgebra/testsva/testsvatol.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/testLinearAlgebra/testsva/testsvatol.sci b/2.3-1/tests/unit_tests/testLinearAlgebra/testsva/testsvatol.sci
new file mode 100644
index 00000000..b199ec36
--- /dev/null
+++ b/2.3-1/tests/unit_tests/testLinearAlgebra/testsva/testsvatol.sci
@@ -0,0 +1,9 @@
+// function Singular Value Approx.
+
+function testsvatol()
+ a = [1,2,3,4;5,6,7,8;9,10,11,12]
+ [u,s,v] = sva(a,1)
+ disp(u)
+ disp(s)
+ disp(v)
+endfunction