23 unsigned int xdivs,
double xmin,
double xmax,
24 unsigned int ydivs,
double ymin,
double ymax );
35 void setDx(
double value );
44 void setDy(
double value );
47 void setSy(
double value );
60 void lookup(
double v1,
double v2 );
80 void setTableValue( vector< unsigned int > index,
double value );
86 const vector< vector< double > >& value );
92 void resize(
unsigned int xsize,
unsigned int ysize,
double init = 0.0 );
94 unsigned int xdivs()
const;
95 unsigned int ydivs()
const;
97 void print(
const string& fname,
bool doAppend )
const;
98 void load(
const string& fname,
unsigned int skiplines );
114 #endif // _Interpol2D_h
void lookupReturn(const Eref &e, double v1, double v2)
Id init(int argc, char **argv, bool &doUnitTests, bool &doRegressionTests, unsigned int &benchmark)
bool operator<(const Interpol2D &other) const
double getTableValue(vector< unsigned int > index) const
void lookup(double v1, double v2)
void load(const string &fname, unsigned int skiplines)
void setXmin(double value)
void setYdivs(unsigned int value)
vector< vector< double > > getTableVector() const
void setXdivs(unsigned int value)
unsigned int getXdivs() const
void resize(unsigned int xsize, unsigned int ysize, double init=0.0)
double indexWithoutCheck(double x, double y) const
friend istream & operator>>(istream &, Interpol2D &)
double getInterpolatedValue(vector< double > xy) const
unsigned int xdivs() const
unsigned int ydivs() const
void setTableVector(vector< vector< double > > value)
unsigned int getYdivs() const
void setYmax(double value)
void setTableValue(vector< unsigned int > index, double value)
double innerLookup(double x, double y) const
void appendTableVector(vector< vector< double > > value)
vector< vector< double > > table_
void print(const string &fname, bool doAppend) const
static const Cinfo * initCinfo()
bool operator==(const Interpol2D &other) const
double interpolate(double x, double y) const
static const unsigned int MAX_DIVS
void setYmin(double value)
void setXmax(double value)