summaryrefslogtreecommitdiff
path: root/2.3-1/demos/Brijesh_Demos/Test_Erfcx.sci
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-07-20 21:48:58 +0530
committerAbhinav Dronamraju2017-07-20 21:48:58 +0530
commit1b3e75b3c9bf71e5c01924ae4b48deb25390d8bb (patch)
treec22ebdb6dc9890adea15e7cbc035d7a4104632d4 /2.3-1/demos/Brijesh_Demos/Test_Erfcx.sci
parentb0df4c8bb591d5df8a2401b15ea36c6402161c53 (diff)
parentff4002be02814ace57c646accf6753142732fc6c (diff)
downloadScilab2C-1b3e75b3c9bf71e5c01924ae4b48deb25390d8bb.tar.gz
Scilab2C-1b3e75b3c9bf71e5c01924ae4b48deb25390d8bb.tar.bz2
Scilab2C-1b3e75b3c9bf71e5c01924ae4b48deb25390d8bb.zip
Added demos and merged FOSSEE master
Diffstat (limited to '2.3-1/demos/Brijesh_Demos/Test_Erfcx.sci')
-rw-r--r--2.3-1/demos/Brijesh_Demos/Test_Erfcx.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/2.3-1/demos/Brijesh_Demos/Test_Erfcx.sci b/2.3-1/demos/Brijesh_Demos/Test_Erfcx.sci
new file mode 100644
index 00000000..e17ae514
--- /dev/null
+++ b/2.3-1/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