Package org.ssclab.pl.milp.util
Class A_DataMatrix
- java.lang.Object
-
- org.ssclab.pl.milp.util.A_DataMatrix
-
public class A_DataMatrix extends Object
-
-
Constructor Summary
Constructors Constructor Description A_DataMatrix(double[][] A, 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(String[] arg)
double[]
readArray(int row)
-
-
-
Constructor Detail
-
A_DataMatrix
public A_DataMatrix(double[][] A, String path) throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
-
Method Detail
-
getnRow
public int getnRow()
-
getnCol
public int getnCol()
-
main
public static void main(String[] arg) throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
getMatrix
public double[][] getMatrix() throws IOException
- Throws:
IOException
-
readArray
public double[] readArray(int row) throws IOException
- Throws:
IOException
-
close
public void close() throws IOException
- Throws:
IOException
-
-