summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests/test_jacobi/scilabcode/modsntest.sci
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/tests/unit_tests/test_jacobi/scilabcode/modsntest.sci')
-rw-r--r--2.3-1/tests/unit_tests/test_jacobi/scilabcode/modsntest.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/test_jacobi/scilabcode/modsntest.sci b/2.3-1/tests/unit_tests/test_jacobi/scilabcode/modsntest.sci
new file mode 100644
index 00000000..dc5d4353
--- /dev/null
+++ b/2.3-1/tests/unit_tests/test_jacobi/scilabcode/modsntest.sci
@@ -0,0 +1,6 @@
+function modsntest()
+ u=[1+2*%i 2+3*%i 3+1*%i]; // the corresponding complex vector
+ k=0.6; // parameter of elliptic integral
+ [out]=%sn(u,k);
+ disp(out);
+endfunction