Package org.ssclab.pl.milp.util
Class A_DataMatrix
- java.lang.Object
-
- org.ssclab.pl.milp.util.A_DataMatrix
-
public class A_DataMatrix extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description A_DataMatrix(double[][] A, java.lang.String path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
double[][]
getMatrix()
int
getnCol()
int
getnRow()
static void
main(java.lang.String[] arg)
double[]
readArray(int row)
-
-
-
Method Detail
-
getnRow
public int getnRow()
-
getnCol
public int getnCol()
-
main
public static void main(java.lang.String[] arg) throws java.io.FileNotFoundException, java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
-
getMatrix
public double[][] getMatrix() throws java.io.IOException
- Throws:
java.io.IOException
-
readArray
public double[] readArray(int row) throws java.io.IOException
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Throws:
java.io.IOException
-
-