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