Package dk.ange.octave.type

Examples of dk.ange.octave.type.OctaveMatrix


        octave.put("num_inputs", num_in);
        octave.put("num_outputs", num_out);
        octave.put("asc_id", asc_id);
        int rows=inside_dataset.length;
         int columns=inside_dataset[1].length;
         OctaveMatrix arr=new OctaveMatrix(rows,columns);
       
        int octave_array_index_offset_r,octave_array_index_offset_c;
       
       
         // Pass java array to octave
        
         for (int r=1; r<=rows; r++) {
             for (int c=1; c<=columns; c++) {
                 arr.set(inside_dataset[r-1][c-1], r, c);
             }
        }
        octave.put("arr", arr);
         //End of Passing of array to octave workspace
       
View Full Code Here

TOP

Related Classes of dk.ange.octave.type.OctaveMatrix

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.