summaryrefslogtreecommitdiff
path: root/demos/Brijesh_Demos
diff options
context:
space:
mode:
authorBrijeshcr2017-07-20 21:03:09 +0530
committerBrijeshcr2017-07-20 21:03:09 +0530
commit29388094e30cae9f11ba82360c1d9bc03b229d10 (patch)
tree0e66406805ac6241f0ccf266c02982d7e5e8ec0f /demos/Brijesh_Demos
parente13b1a25161f2989946d6c9d0fd62fe15a6f480a (diff)
downloadScilab2C_fossee_old-29388094e30cae9f11ba82360c1d9bc03b229d10.tar.gz
Scilab2C_fossee_old-29388094e30cae9f11ba82360c1d9bc03b229d10.tar.bz2
Scilab2C_fossee_old-29388094e30cae9f11ba82360c1d9bc03b229d10.zip
Added Erfcx
Diffstat (limited to 'demos/Brijesh_Demos')
-rw-r--r--demos/Brijesh_Demos/Test_Erfcx.sci10
1 files changed, 10 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