Class A_DataMatrix


  • public class A_DataMatrix
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      A_DataMatrix​(double[][] A, java.lang.String path)  
    • Constructor Detail

      • A_DataMatrix

        public A_DataMatrix​(double[][] A,
                            java.lang.String path)
                     throws java.io.FileNotFoundException,
                            java.io.IOException
        Throws:
        java.io.FileNotFoundException
        java.io.IOException
    • 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