Exemple10.java

Go to the documentation of this file.
00001 import javasci.* ; 
00002 
00003 
00004 class  Exemple10 {
00005 
00006   public static void main(String[] args) {
00007         
00008         SciComplex a = new SciComplex("A");
00009                 Scilab.Exec("A=1. + 80*%i");
00010         System.out.println("----------------------------------------------------");
00011         a.disp();
00012         System.out.println("----------------------------------------------------");
00013         
00014         System.out.println("A= "+a.getRealPartData()+"  "+a.getImaginaryPartData()+"  ");
00015         System.out.println("----------------------------------------------------");
00016         SciComplex s = new SciComplex("S",4,8);
00017         s.disp();
00018         System.out.println("----------------------------------------------------");
00019         System.out.println("S= "+s.getRealPartData()+"  "+s.getImaginaryPartData()+"  ");
00020         System.out.println("----------------------------------------------------");
00021         SciComplex Ap = new SciComplex("A");
00022         Ap.disp();
00023   }
00024 }
00025 

Generated on Sun Mar 4 15:03:58 2007 for Scilab [trunk] by  doxygen 1.5.1