diff options
Diffstat (limited to '2.3-1/demos')
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/Test_Add_SCE.sce | 4 | ||||
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/test_addition.sci (renamed from 2.3-1/demos/Brijesh_Demos/Test_Addition.sci) | 2 | ||||
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/test_cross.sci (renamed from 2.3-1/demos/Brijesh_Demos/Test_Cross.sci) | 2 | ||||
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/test_erf.sci (renamed from 2.3-1/demos/Brijesh_Demos/Test_Erf.sci) | 2 | ||||
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/test_erfc.sci (renamed from 2.3-1/demos/Brijesh_Demos/Test_Erfc.sci) | 2 | ||||
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/test_erfcx.sci (renamed from 2.3-1/demos/Brijesh_Demos/Test_Erfcx.sci) | 2 | ||||
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/test_erfinv.sci (renamed from 2.3-1/demos/Brijesh_Demos/Test_Erfinv.sci) | 2 | ||||
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/test_isequal.sci (renamed from 2.3-1/demos/Brijesh_Demos/Test_Isreal.sci) | 2 | ||||
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/test_nanmean.sci | 14 | ||||
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/test_nanmin.sci | 16 | ||||
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/test_toeplitz.sci (renamed from 2.3-1/demos/Brijesh_Demos/Test_Toeplitz.sci) | 2 |
11 files changed, 38 insertions, 12 deletions
diff --git a/2.3-1/demos/Brijesh_Demos/Test_Add_SCE.sce b/2.3-1/demos/Brijesh_Demos/Test_Add_SCE.sce deleted file mode 100644 index e250078d..00000000 --- a/2.3-1/demos/Brijesh_Demos/Test_Add_SCE.sce +++ /dev/null @@ -1,4 +0,0 @@ -a = 1; -b = 5; -c = a+b; -disp(c); diff --git a/2.3-1/demos/Brijesh_Demos/Test_Addition.sci b/2.3-1/demos/Brijesh_Demos/test_addition.sci index 856ba63e..f70f0aff 100644 --- a/2.3-1/demos/Brijesh_Demos/Test_Addition.sci +++ b/2.3-1/demos/Brijesh_Demos/test_addition.sci @@ -1,4 +1,4 @@ -function Test_Addition() +function test_addition() a = 1; b = 2; d = float(b); diff --git a/2.3-1/demos/Brijesh_Demos/Test_Cross.sci b/2.3-1/demos/Brijesh_Demos/test_cross.sci index 01206b3c..6c2224d6 100644 --- a/2.3-1/demos/Brijesh_Demos/Test_Cross.sci +++ b/2.3-1/demos/Brijesh_Demos/test_cross.sci @@ -1,4 +1,4 @@ -function Test_Cross +function test_cross disp('Datatype: Double'); i1 = [1 2;3 4;5 6]; i2 = [7 8;9 10;11 12]; diff --git a/2.3-1/demos/Brijesh_Demos/Test_Erf.sci b/2.3-1/demos/Brijesh_Demos/test_erf.sci index 42208f61..5cebb253 100644 --- a/2.3-1/demos/Brijesh_Demos/Test_Erf.sci +++ b/2.3-1/demos/Brijesh_Demos/test_erf.sci @@ -1,4 +1,4 @@ -function Test_Erf +function test_erf disp('Datatype: Double'); i1 = [1 2 .5; 7 .8 .9]; o1 = erf(i1); diff --git a/2.3-1/demos/Brijesh_Demos/Test_Erfc.sci b/2.3-1/demos/Brijesh_Demos/test_erfc.sci index 2ad8cfed..ac50e150 100644 --- a/2.3-1/demos/Brijesh_Demos/Test_Erfc.sci +++ b/2.3-1/demos/Brijesh_Demos/test_erfc.sci @@ -1,4 +1,4 @@ -function Test_Erfc +function test_erfc disp('Datatype: Double'); i1 = [1 2 .5; 7 .8 .9]; o1 = erfc(i1); diff --git a/2.3-1/demos/Brijesh_Demos/Test_Erfcx.sci b/2.3-1/demos/Brijesh_Demos/test_erfcx.sci index e17ae514..a2a553c6 100644 --- a/2.3-1/demos/Brijesh_Demos/Test_Erfcx.sci +++ b/2.3-1/demos/Brijesh_Demos/test_erfcx.sci @@ -1,4 +1,4 @@ -function Test_Erfcx +function test_erfcx disp('Datatype: Double'); i1 = [.75 .8 -.32]; o1 = erfcx(i1); diff --git a/2.3-1/demos/Brijesh_Demos/Test_Erfinv.sci b/2.3-1/demos/Brijesh_Demos/test_erfinv.sci index 99a8683a..483d2903 100644 --- a/2.3-1/demos/Brijesh_Demos/Test_Erfinv.sci +++ b/2.3-1/demos/Brijesh_Demos/test_erfinv.sci @@ -1,4 +1,4 @@ -function Test_Erfinv +function test_erfinv disp('Datatype: Double'); i1 = [12 0.6 -2 -0.75]; o1 = erfinv(i1); diff --git a/2.3-1/demos/Brijesh_Demos/Test_Isreal.sci b/2.3-1/demos/Brijesh_Demos/test_isequal.sci index 4846d31c..1531275d 100644 --- a/2.3-1/demos/Brijesh_Demos/Test_Isreal.sci +++ b/2.3-1/demos/Brijesh_Demos/test_isequal.sci @@ -1,4 +1,4 @@ -function Test_Isreal +function test_isequal disp('Datatype: Double'); i1 = [1 2 3]; i2 = [1 2 3]; diff --git a/2.3-1/demos/Brijesh_Demos/test_nanmean.sci b/2.3-1/demos/Brijesh_Demos/test_nanmean.sci new file mode 100644 index 00000000..6009ad8a --- /dev/null +++ b/2.3-1/demos/Brijesh_Demos/test_nanmean.sci @@ -0,0 +1,14 @@ +function test_nanmean + disp('Datatype: Double'); + i1 = [1 %nan;3 4;5 %nan]; + o1 = nanmean(i1,'r'); + disp(o1); + disp('Datatype: Float'); + i2 = float([1 %nan;3 4;5 %nan]); + o2 = nanmean(i2,'r'); + disp(o2); + disp('Datatype: Double complex'); + i3 = [1 %nan %i;3 4+1*%i %nan;5 %nan %i]; + o3 = nanmean(i3,'c'); + disp(o3); +endfunction diff --git a/2.3-1/demos/Brijesh_Demos/test_nanmin.sci b/2.3-1/demos/Brijesh_Demos/test_nanmin.sci new file mode 100644 index 00000000..86517436 --- /dev/null +++ b/2.3-1/demos/Brijesh_Demos/test_nanmin.sci @@ -0,0 +1,16 @@ +function test_nanmin + disp('Datatype: Double'); + i1 = [%nan %nan; %nan %nan; %nan %nan]; + [o1, p1] = nanmin(i1); + //o1 = nanmin(i1); + disp(o1); + disp(p1); + //disp('Datatype: Float'); + //i2 = float([1 %nan;3 4;5 %nan]); + //o2 = nanmean(i2,'r'); + //disp(o2); + //disp('Datatype: Double complex'); + //i3 = [1 %nan %i;3 4+1*%i %nan;5 %nan %i]; + //o3 = nanmean(i3,'c'); + //disp(o3); +endfunction diff --git a/2.3-1/demos/Brijesh_Demos/Test_Toeplitz.sci b/2.3-1/demos/Brijesh_Demos/test_toeplitz.sci index 6d1269ec..4a52e7ba 100644 --- a/2.3-1/demos/Brijesh_Demos/Test_Toeplitz.sci +++ b/2.3-1/demos/Brijesh_Demos/test_toeplitz.sci @@ -1,4 +1,4 @@ -function Test_Toeplitz() +function test_toeplitz() disp('Datatype: Double'); ai = [1 2 3 4]; bi = [1 6 7 8]; |