summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSandeep Gupta2017-07-07 02:44:54 +0530
committerSandeep Gupta2017-07-07 02:44:54 +0530
commit39e059c0f4f7b517718bcc803c1e24873e25b164 (patch)
tree4ebe8e96dc50ced3b61a192556ca43eb62e9f461 /tests
parent3afee83ada15920249b2ff15fc7c5ee8970bb1cb (diff)
downloadScilab2C_fossee_old-39e059c0f4f7b517718bcc803c1e24873e25b164.tar.gz
Scilab2C_fossee_old-39e059c0f4f7b517718bcc803c1e24873e25b164.tar.bz2
Scilab2C_fossee_old-39e059c0f4f7b517718bcc803c1e24873e25b164.zip
SQROOT
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