Class A_Matrix


  • public final class A_Matrix
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      A_Matrix​(double[][] A, java.lang.String path)  
      A_Matrix​(int row, int col, java.lang.String path)  
    • Constructor Detail

      • A_Matrix

        public A_Matrix​(int row,
                        int col,
                        java.lang.String path)
                 throws java.io.FileNotFoundException,
                        java.io.IOException
        Throws:
        java.io.FileNotFoundException
        java.io.IOException
      • A_Matrix

        public A_Matrix​(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
      • writeDouble

        public void writeDouble​(double value)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • readArray

        public double[] readArray​(int row)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • readValue

        public double readValue​(int row,
                                int col)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException