summaryrefslogtreecommitdiff
path: root/2.3-1/demos/Brijesh_Demos/Test_Erfcx.sci
diff options
context:
space:
mode:
authorBrijeshcr2017-07-20 21:03:09 +0530
committerBrijeshcr2017-07-20 21:03:09 +0530
commitff4002be02814ace57c646accf6753142732fc6c (patch)
tree5ad9f94759fe3ead0b00b9757e1812c2665d0931 /2.3-1/demos/Brijesh_Demos/Test_Erfcx.sci
parentb648d723637d3e090f0926cd4fbba65db07ee456 (diff)
downloadScilab2C-ff4002be02814ace57c646accf6753142732fc6c.tar.gz
Scilab2C-ff4002be02814ace57c646accf6753142732fc6c.tar.bz2
Scilab2C-ff4002be02814ace57c646accf6753142732fc6c.zip
Added Erfcx
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