diff options
author | Brijeshcr | 2017-08-10 19:38:31 +0530 |
---|---|---|
committer | Brijeshcr | 2017-08-10 19:38:31 +0530 |
commit | dcfc88991cdfa7f8e53607094e8d26cae399b78e (patch) | |
tree | 477aa36aee917771677bbd6500fc57ca353f4d4f /2.3-1/demos/Brijesh_Demos/test_gammaln.sci | |
parent | 60dc24077bf42ddf1b8973915350dfabdf5b040a (diff) | |
download | Scilab2C-dcfc88991cdfa7f8e53607094e8d26cae399b78e.tar.gz Scilab2C-dcfc88991cdfa7f8e53607094e8d26cae399b78e.tar.bz2 Scilab2C-dcfc88991cdfa7f8e53607094e8d26cae399b78e.zip |
Added Gamma, gammaln, beta, isinf, ndgrid and range
Diffstat (limited to '2.3-1/demos/Brijesh_Demos/test_gammaln.sci')
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/test_gammaln.sci | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/2.3-1/demos/Brijesh_Demos/test_gammaln.sci b/2.3-1/demos/Brijesh_Demos/test_gammaln.sci new file mode 100644 index 00000000..a12a57bb --- /dev/null +++ b/2.3-1/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 |