summaryrefslogtreecommitdiff
path: root/2.3-1/demos/Brijesh_Demos/test_erfcx.sci
diff options
context:
space:
mode:
authorBrijeshcr2017-07-27 18:29:25 +0530
committerBrijeshcr2017-07-27 18:29:25 +0530
commit38a2d24e20e33da84432c068411dae980e32baeb (patch)
tree8cbfc698361666cbe8f46900d23821cc298792c5 /2.3-1/demos/Brijesh_Demos/test_erfcx.sci
parent965e05dc348f796d2741ac7f410bcaff2a3fef56 (diff)
downloadScilab2C-38a2d24e20e33da84432c068411dae980e32baeb.tar.gz
Scilab2C-38a2d24e20e33da84432c068411dae980e32baeb.tar.bz2
Scilab2C-38a2d24e20e33da84432c068411dae980e32baeb.zip
Nanmin and Nanmean added
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..a2a553c6
--- /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