diff options
author | Abhinav Dronamraju | 2017-08-10 20:33:46 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-08-10 20:33:46 +0530 |
commit | 5b728d8239b1a1f4467e2485d54c7ed7db1d4f11 (patch) | |
tree | d8db631e058bae294362b2087079150569fc9581 /demos/Brijesh_Demos/test_gamma.sci | |
parent | 6422b5c0a45161d6571fd6d7077b6d551cbb5e26 (diff) | |
parent | 4bc007e5b44a13b582b0275bf7fc6693942ba2ac (diff) | |
download | Scilab2C_fossee_old-5b728d8239b1a1f4467e2485d54c7ed7db1d4f11.tar.gz Scilab2C_fossee_old-5b728d8239b1a1f4467e2485d54c7ed7db1d4f11.tar.bz2 Scilab2C_fossee_old-5b728d8239b1a1f4467e2485d54c7ed7db1d4f11.zip |
Merge and functions added
Diffstat (limited to 'demos/Brijesh_Demos/test_gamma.sci')
-rw-r--r-- | demos/Brijesh_Demos/test_gamma.sci | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/demos/Brijesh_Demos/test_gamma.sci b/demos/Brijesh_Demos/test_gamma.sci new file mode 100644 index 0000000..4ca5f02 --- /dev/null +++ b/demos/Brijesh_Demos/test_gamma.sci @@ -0,0 +1,10 @@ +function test_gamma + disp('Datatype: Double'); + i1 = [1 2 3; 4 5 6]; + o1 = gamma(i1); + disp(o1); + disp('Datatype: float'); + i2 = float([1 2 3; 4 5 6]); + o2 = gamma(i2); + disp(o2); +endfunction |