summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorsimon2009-07-21 08:43:17 +0000
committersimon2009-07-21 08:43:17 +0000
commit001695a6f08c384fd86ddac3796acf905c5a5617 (patch)
tree7dab9b22e504c75b4be067f60545460a5f79e907 /tests
parent8e4d260154baa05ca1a6dfbf0bdac0d36a32199c (diff)
downloadscilab2c-001695a6f08c384fd86ddac3796acf905c5a5617.tar.gz
scilab2c-001695a6f08c384fd86ddac3796acf905c5a5617.tar.bz2
scilab2c-001695a6f08c384fd86ddac3796acf905c5a5617.zip
Added test for expm function
Updated INIT_FillSCI2LibCDirs
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/test_double_Expm.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unit_tests/test_double_Expm.sci b/tests/unit_tests/test_double_Expm.sci
new file mode 100644
index 00000000..a084fb5a
--- /dev/null
+++ b/tests/unit_tests/test_double_Expm.sci
@@ -0,0 +1,9 @@
+function test_double_Expm()
+ b = [1 2 3 4 ; 5 6 7 8 ; 9 10 11 12 ; 13 14 15 16];
+ c = b*%i ;
+
+ disp(expm(b));
+ disp(expm(c));
+
+
+endfunction