From c70a50ed3df714fc52f18b41539c7f0ac2734f32 Mon Sep 17 00:00:00 2001 From: Brijeshcr Date: Thu, 20 Jul 2017 19:35:19 +0530 Subject: Added erfinv --- demos/Brijesh_Demos/Test_Erfinv.sci | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 demos/Brijesh_Demos/Test_Erfinv.sci (limited to 'demos/Brijesh_Demos') diff --git a/demos/Brijesh_Demos/Test_Erfinv.sci b/demos/Brijesh_Demos/Test_Erfinv.sci new file mode 100644 index 0000000..99a8683 --- /dev/null +++ b/demos/Brijesh_Demos/Test_Erfinv.sci @@ -0,0 +1,10 @@ +function Test_Erfinv + disp('Datatype: Double'); + i1 = [12 0.6 -2 -0.75]; + o1 = erfinv(i1); + disp(o1); + disp('Datatype: float'); + i2 = float([5 0.35 -1 -.97 -6]); + o2 = erf(i2); + disp(o2); +endfunction -- cgit From 29388094e30cae9f11ba82360c1d9bc03b229d10 Mon Sep 17 00:00:00 2001 From: Brijeshcr Date: Thu, 20 Jul 2017 21:03:09 +0530 Subject: Added Erfcx --- demos/Brijesh_Demos/Test_Erfcx.sci | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 demos/Brijesh_Demos/Test_Erfcx.sci (limited to 'demos/Brijesh_Demos') diff --git a/demos/Brijesh_Demos/Test_Erfcx.sci b/demos/Brijesh_Demos/Test_Erfcx.sci new file mode 100644 index 0000000..e17ae51 --- /dev/null +++ b/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 -- cgit