summaryrefslogtreecommitdiff
path: root/2.3-1/demos/Brijesh_Demos/Test_Erf.sci
diff options
context:
space:
mode:
authorBrijeshcr2017-07-14 18:01:26 +0530
committerBrijeshcr2017-07-14 18:01:26 +0530
commit2e35a1f26a7ec9e4466a5e0448f9a868aa801471 (patch)
tree5d289a280e2e5bea4580bfe25fe845b3fae7c7d4 /2.3-1/demos/Brijesh_Demos/Test_Erf.sci
parente826d667659a225bf8c514dceb5d063752c2c3f8 (diff)
downloadScilab2C-2e35a1f26a7ec9e4466a5e0448f9a868aa801471.tar.gz
Scilab2C-2e35a1f26a7ec9e4466a5e0448f9a868aa801471.tar.bz2
Scilab2C-2e35a1f26a7ec9e4466a5e0448f9a868aa801471.zip
ERF, ERFC and Demos added
Diffstat (limited to '2.3-1/demos/Brijesh_Demos/Test_Erf.sci')
-rw-r--r--2.3-1/demos/Brijesh_Demos/Test_Erf.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/2.3-1/demos/Brijesh_Demos/Test_Erf.sci b/2.3-1/demos/Brijesh_Demos/Test_Erf.sci
new file mode 100644
index 00000000..42208f61
--- /dev/null
+++ b/2.3-1/demos/Brijesh_Demos/Test_Erf.sci
@@ -0,0 +1,10 @@
+function Test_Erf
+ disp('Datatype: Double');
+ i1 = [1 2 .5; 7 .8 .9];
+ o1 = erf(i1);
+ disp(o1);
+ disp('Datatype: float');
+ i2 = float([1 2 .5; 7 .8 .9]);
+ o2 = erf(i2);
+ disp(o2);
+endfunction