Ignore:
Timestamp:
Dec 15, 2005, 12:23:46 AM (16 years ago)
Author:
Markus Ringnér
Message:

Modified istream constructors to support both the old format and CSV files. Also support has been added for NaN:s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/gslapi/matrix.h

    r420 r434  
    9797    ///
    9898    /// Matrix rows are sepearated with the new line character, and
    99     /// column elements in a row must be separated with white space
    100     /// characters except the new line (\\n) character. Rows, and
     99    /// column elements in a row must be separated either with white space
     100    /// characters except the new line (\\n) character (default), or
     101    /// by the delimiter \a sep.
     102    ///. Rows, and
    101103    /// columns, are read consecutively and only rectangular matrices
    102104    /// are supported. Empty lines are ignored. End of input is at end
    103105    /// of file marker.
    104106    ///
    105     explicit matrix(std::istream &) throw (utility::IO_error,std::exception);
     107    //    explicit matrix(std::istream &) throw (utility::IO_error,std::exception);
     108    explicit matrix(std::istream &, char sep='\0')
     109      throw (utility::IO_error,std::exception);
     110
    106111
    107112    ///
Note: See TracChangeset for help on using the changeset viewer.