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/vector.h

    r431 r434  
    147147    /// The istream constructor.
    148148    ///
    149     /// Elements should be separated with white space characters, the
     149    /// Either elements should be separated
     150    /// with white space characters (default), or elements should be separated
     151    /// by the delimiter \a sep. When delimiter \a sep is used empty elements
     152    /// are stored as NaN's (except that empty lines are ignored). The
    150153    /// end of input to the vector is at end of file marker.
    151154    ///
    152     explicit vector(std::istream &) throw (utility::IO_error,std::exception);
     155    explicit vector(std::istream &, char sep='\0') throw (utility::IO_error,std::exception);
    153156
    154157    ///
Note: See TracChangeset for help on using the changeset viewer.