Real2 Class Reference


Static Public Member Functions

static void main (String[] args)

Detailed Description

Definition at line 3 of file Real2.java.


Member Function Documentation

static void Real2::main ( String[]  args  )  [inline, static]

Definition at line 6 of file Real2.java.

References F, G, javasci::SciDoubleArray::getData(), H, and javasci::SciDoubleArray::Job().

00007 {
00008   SciDoubleArray F = new SciDoubleArray("F",2,2, new double [] {1,2,3,4} );
00009   SciDoubleArray G = new SciDoubleArray("G",2,2, new double [] {5,6,7,8} );
00010   SciDoubleArray DimH = new SciDoubleArray("DimH",1,2);
00011       
00012   F.Send();
00013   G.Send();
00014 
00015         Scilab.Exec("disp('F=');disp(F);");
00016         Scilab.Exec("disp('G=');disp(G);");
00017   
00018   Scilab.Exec("H=F*G;");
00019   DimH.Job("DimH=size(H);");
00020       
00021   double DxDy[]=DimH.getData();
00022   
00023   SciDoubleArray H = new SciDoubleArray("H",(int)DxDy[0],(int)DxDy[1]);
00024   Scilab.Exec("H=F*G;");
00025   
00026   H.Get();
00027   
00028   Scilab.Exec("disp('H=');disp(H);");
00029 
00030 }

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Sun Mar 4 16:15:11 2007 for Scilab [trunk] by  doxygen 1.5.1