summaryrefslogtreecommitdiff
path: root/demos/Brijesh_Demos/test_besselk.sci
diff options
context:
space:
mode:
Diffstat (limited to 'demos/Brijesh_Demos/test_besselk.sci')
-rw-r--r--demos/Brijesh_Demos/test_besselk.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/demos/Brijesh_Demos/test_besselk.sci b/demos/Brijesh_Demos/test_besselk.sci
new file mode 100644
index 0000000..7beface
--- /dev/null
+++ b/demos/Brijesh_Demos/test_besselk.sci
@@ -0,0 +1,12 @@
+function test_besselk
+ disp('Datatype: Double');
+ i1 = [1 2 3 4 5];
+ i2 = [6 7 8 9 10];
+ o1 = besselk(i1,i2);
+ disp(o1);
+ disp('Datatype: float');
+ i3 = float([1 2 3 4 5]);
+ i4 = float([6 7 8 9 10]);
+ o2 = besselk(i3,i4);
+ disp(o2);
+endfunction