Changeset 3874 in Sophya for trunk/SophyaLib/NTools/slininterp.h


Ignore:
Timestamp:
Sep 7, 2010, 7:48:49 PM (15 years ago)
Author:
ansari
Message:

Ajout gestion lignes commentaires ds les fichiers input de SLinInterp1D, Reza 07/09/2010

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/slininterp.h

    r3851 r3874  
    5555  void DefinePoints(vector<double>& xs, vector<double>& ys, double xmin=1., double xmax=-1., size_t npt=0);
    5656
    57   //! Read  Y's  ( one  / line) for regularly spaced X's from file and call DefinePoints(xmin, xmax, yreg)
    58   size_t ReadYFromFile(string const& filename, double xmin, double xmax);
    59   //! Read pairs of X Y ( one pair / line) from file and call DefinePoints(xs, ys ...)
    60   size_t ReadXYFromFile(string const& filename, double xmin=1., double xmax=-1., size_t npt=0);
     57  // Read  Y's (one/line) for regularly spaced X's from file and call DefinePoints(xmin, xmax, yreg)
     58  size_t ReadYFromFile(string const& filename, double xmin, double xmax, char clm='#');
     59  // Read pairs of X Y (one pair/line) from file and call DefinePoints(xs, ys ...)
     60  size_t ReadXYFromFile(string const& filename, double xmin=1., double xmax=-1., size_t npt=0, char clm='#');
    6161 
    6262  vector<double>& GetVX()  { return xs_; }
Note: See TracChangeset for help on using the changeset viewer.