From 2e35a1f26a7ec9e4466a5e0448f9a868aa801471 Mon Sep 17 00:00:00 2001 From: Brijeshcr Date: Fri, 14 Jul 2017 18:01:26 +0530 Subject: ERF, ERFC and Demos added --- 2.3-1/demos/Brijesh_Demos/Test_Erf.sci | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 2.3-1/demos/Brijesh_Demos/Test_Erf.sci (limited to '2.3-1/demos/Brijesh_Demos/Test_Erf.sci') 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 -- cgit