Static Public Member Functions | |
| static void | main (String[] args) |
Definition at line 3 of file Exemple3.java.
| static void Exemple3::main | ( | String[] | args | ) | [inline, static] |
Definition at line 5 of file Exemple3.java.
References a, b, javasci::SciDoubleArray::disp(), and javasci::SciDoubleArray::Get().
00005 { 00006 00007 SciDoubleArray a = new SciDoubleArray("A",4,1, new double [] {1,2,3,4} ); 00008 SciDoubleArray b = new SciDoubleArray("B",4,1, new double [] {3,1,2,4} ); 00009 SciDoubleArray c = new SciDoubleArray("C",4,1, new double [] {0,0,0,0} ); 00010 00011 Scilab.Exec("disp(A);"); 00012 Scilab.Exec("disp(B);"); 00013 Scilab.Exec("disp(C);"); 00014 00015 a.disp(); 00016 b.disp(); 00017 c.disp(); 00018 00019 Scilab.Exec("C=A+B;"); 00020 a.Get(); 00021 b.Get(); 00022 c.Get(); 00023 00024 a.disp(); 00025 b.disp(); 00026 c.disp(); 00027 00028 SciDoubleArray d = new SciDoubleArray("C",4,1); 00029 d.disp(); 00030 00031 Scilab.Finish(); 00032 00033 }
Here is the call graph for this function:

1.5.1