Changeset 3874 in Sophya for trunk/SophyaLib/NTools/slininterp.h
- Timestamp:
- Sep 7, 2010, 7:48:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/slininterp.h
r3851 r3874 55 55 void DefinePoints(vector<double>& xs, vector<double>& ys, double xmin=1., double xmax=-1., size_t npt=0); 56 56 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='#'); 61 61 62 62 vector<double>& GetVX() { return xs_; }
Note:
See TracChangeset
for help on using the changeset viewer.