Add a function to lookup the sampled x coordinates

This commit is contained in:
Guilhem Lavaux 2010-04-27 13:36:17 +02:00
parent 7adde40f6b
commit cc6fcc8565

View File

@ -26,6 +26,7 @@ namespace CosmoTool
uint32_t getNumPoints() const;
void fillWithXY(double *x, double *y) const;
double getMaxX() const;
double getXi(int i) const { return spline->x[i]; }
protected:
gsl_interp_accel *accel_interp;
gsl_spline *spline;