I have this multidimensional matrix created in IDL

<Expression>    DOUBLE    = Array[4, 16, 16, 16]
<Expression>    DOUBLE    = Array[4, 16, 16, 16]
<Expression>    FLOAT     = Array[16, 16, 16]
<Expression>    FLOAT     = Array[16, 16, 16]

In IDL i compare the dimensions of the matrix where the dimensions 1
and 3 can it different then if the dimensions are equal i record in
binary file else displays a warning and not write in the file

The positions 16 and 16 of the Array[4, 16, 16, 16] vary with file
read or if I have something like this: Array [4, X, X, Y]

I IDL no IDL this part.

Now in JAVA I need to read this and take the binary value of positions
and use the 'for'

My code in IDL: http://pastebin.com/uuhAuXsj

My current JAVA code: http://pastebin.com/i97HSPU8

In this code the dimensions are fixed
double mat[][][][] =  new double[4][16][16][16];

How must read these two positions "mod_imag[1], mod_imag[3]"  in the
binary, I thought of passing this way in Java

     // Declaring the matrix mat
        X = mod_imag[1];
        Y = mod_imag[3]
        double mat[][][][] =  new double[4][X][X][Y];


....

and then the "for's"

But, I don't know....

Can you help me???

-- 
You received this message because you are subscribed to the Google Groups "Java 
Tech Group" group.
To post to this group, send email to java-tech-group@googlegroups.com.
To unsubscribe from this group, send email to 
java-tech-group+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/java-tech-group?hl=en.

Reply via email to