summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/testLinearAlgebra/testsqroot/testsqroot.sci5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit_tests/testLinearAlgebra/testsqroot/testsqroot.sci b/tests/unit_tests/testLinearAlgebra/testsqroot/testsqroot.sci
new file mode 100644
index 0000000..63db1f4
--- /dev/null
+++ b/tests/unit_tests/testLinearAlgebra/testsqroot/testsqroot.sci
@@ -0,0 +1,5 @@
+function testsqroot()
+ a = [1,2,3;4,5,6;7,8,9];
+ e = sqroot(a);
+ disp(e)
+endfunction