summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests
diff options
context:
space:
mode:
authorSandeep Gupta2017-07-07 02:44:54 +0530
committerSandeep Gupta2017-07-07 02:44:54 +0530
commit4be41c665ffe107536b4259c8e85c109cc0c2f07 (patch)
tree9b88e75a899163943de6ef4f815078f4605217db /2.3-1/tests/unit_tests
parentea8a50994bd3a260cd1656713acdc397a57fc680 (diff)
downloadScilab2C-4be41c665ffe107536b4259c8e85c109cc0c2f07.tar.gz
Scilab2C-4be41c665ffe107536b4259c8e85c109cc0c2f07.tar.bz2
Scilab2C-4be41c665ffe107536b4259c8e85c109cc0c2f07.zip
SQROOT
Diffstat (limited to '2.3-1/tests/unit_tests')
-rw-r--r--2.3-1/tests/unit_tests/testLinearAlgebra/testsqroot/testsqroot.sci5
1 files changed, 5 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/testLinearAlgebra/testsqroot/testsqroot.sci b/2.3-1/tests/unit_tests/testLinearAlgebra/testsqroot/testsqroot.sci
new file mode 100644
index 00000000..63db1f49
--- /dev/null
+++ b/2.3-1/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