src/Matrix/i_matrix.cc
// Input            imx : An i_matrix (this)
//                 fstr : File
// Output          fstr : File unmodified!
// Note                 : This is the matching function to
//                        i_matrix::write!  The write can only
//                          1.) write a GAMMA i_matrix, which
//				contains no information so no
//				write is performed to the file
//			    2.) write an i_matrix as if all of 
//				its elements were present in memory
//			  For read of imx written by 1.), we read
//			  nothing.  Read of imx written by 2.) is
//			  not possible since all elements are present,
//			  it must be read in as a normal matrix!
Input            imx : An i_matrix (this)
fstr : File
Output          fstr : File unmodified.
Note                 : This is the matching function to
i_matrix::write.  The write can only
1.) write a GAMMA i_matrix, which
contains no information so no
write is performed to the file
2.) write an i_matrix as if all of
its elements were present in memory
For read of imx written by 1.), we read
nothing.  Read of imx written by 2.) is
not possible since all elements are present,
it must be read in as a normal matrix!
Input imx : An i_matrix ( this ) fstr : File Output fstr : File unmodified . Note : This is the matching function to i_matrix :: write . The write can only 1 . ) write a GAMMA i_matrix which contains no information so no write is performed to the file 2 . ) write an i_matrix as if all of its elements were present in memory For read of imx written by 1 . ) we read nothing . Read of imx written by 2 . ) is not possible since all elements are present it must be read in as a normal matrix!
void i_matrix::read(std::ifstream& fstr)
  {
  if(!fstr.is_open()) 			
    {
    IMxerror(1, 1);			
    IMxerror(26, 1); 			
    IMxfatal(3, "read");		
    }
  }
void i_matrix :: read ( std :: ifstream & fstr ) { if ( ! fstr . is_open ( ) ) { IMxerror ( 1 , 1 ) ; IMxerror ( 26 , 1 ) ; IMxfatal ( 3 , " " ) ; } }
Input            imx : An i_matrix (this)
fstr : File
Output          fstr : File unmodified!
Input imx : An i_matrix ( this ) fstr : File Output fstr : File unmodified!
// Compiler likes fstr to be used //   Problems with input filestream //   Binary filestream closed //   Fail in read function