src/HSLib/GenOpRep.cc
/*              Input           OpRep: Operator representation (this)
                                fn   : Input binary filename
                                fp   : File stream (pointing at OpRep spot)
                Return          void : OpRep is written to either the
                                       specified file or filestream.
                Note                 : Output format is partially set by
                                       class matrix (matrix typing)          */
Input           OpRep: Operator representation (this)
fn   : Input binary filename
fp   : File stream (pointing at OpRep spot)
Return          void : OpRep is written to either the
specified file or filestream.
Note                 : Output format is partially set by
class matrix (matrix typing)
Input OpRep : Operator representation ( this ) fn : Input binary filename fp : File stream ( pointing at OpRep spot ) Return void : OpRep is written to either the specified file or filestream . Note : Output format is partially set by class matrix ( matrix typing )
void genoprep::write(const std::string& fn) const
  {
  std::ofstream fp;					
  fp.open(fn.c_str(),std::ios::out|std::ios::binary);	
  write(fp);                   				
  fp.close();						
  }
void genoprep :: write ( const std :: string & fn ) const { std :: ofstream fp ; fp . open ( fn . c_str ( ) , std :: ios :: out | std :: ios :: binary ) ; write ( fp ) ; fp . close ( ) ; }
Input           OpRep: Operator representation (this)
fn   : Input binary filename
fp   : File stream (pointing at OpRep spot)
Return          void : OpRep is written to either the
specified file or filestream.
Input OpRep : Operator representation ( this ) fn : Input binary filename fp : File stream ( pointing at OpRep spot ) Return void : OpRep is written to either the specified file or filestream .
// Construct a file stream // Open the file for output // Write OpRep to file stream // Close file stream