diff options
author | Abhinav Dronamraju | 2017-07-20 21:48:58 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-07-20 21:48:58 +0530 |
commit | a5d7599fd743ed83186f48905b827af8587f6b9a (patch) | |
tree | 352ad1216ffa6a31537766ba94295e9c551bbcdf /demos/Brijesh_Demos | |
parent | 35ff505ddd9b1f269f2b6bfb4e7ed8e4ee20bf41 (diff) | |
parent | 29388094e30cae9f11ba82360c1d9bc03b229d10 (diff) | |
download | Scilab2C_fossee_old-a5d7599fd743ed83186f48905b827af8587f6b9a.tar.gz Scilab2C_fossee_old-a5d7599fd743ed83186f48905b827af8587f6b9a.tar.bz2 Scilab2C_fossee_old-a5d7599fd743ed83186f48905b827af8587f6b9a.zip |
Added demos and merged FOSSEE master
Diffstat (limited to 'demos/Brijesh_Demos')
-rw-r--r-- | demos/Brijesh_Demos/Test_Erfcx.sci | 10 | ||||
-rw-r--r-- | demos/Brijesh_Demos/Test_Erfinv.sci | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/demos/Brijesh_Demos/Test_Erfcx.sci b/demos/Brijesh_Demos/Test_Erfcx.sci new file mode 100644 index 0000000..e17ae51 --- /dev/null +++ b/demos/Brijesh_Demos/Test_Erfcx.sci @@ -0,0 +1,10 @@ +function Test_Erfcx + disp('Datatype: Double'); + i1 = [.75 .8 -.32]; + o1 = erfcx(i1); + disp(o1); + disp('Datatype: float'); + i2 = float([1 2 .5; 7 .8 .9]); + o2 = erfc(i2); + disp(o2); +endfunction diff --git a/demos/Brijesh_Demos/Test_Erfinv.sci b/demos/Brijesh_Demos/Test_Erfinv.sci new file mode 100644 index 0000000..99a8683 --- /dev/null +++ b/demos/Brijesh_Demos/Test_Erfinv.sci @@ -0,0 +1,10 @@ +function Test_Erfinv + disp('Datatype: Double'); + i1 = [12 0.6 -2 -0.75]; + o1 = erfinv(i1); + disp(o1); + disp('Datatype: float'); + i2 = float([5 0.35 -1 -.97 -6]); + o2 = erf(i2); + disp(o2); +endfunction |