Add a function to lookup the sampled x coordinates
This commit is contained in:
parent
7adde40f6b
commit
cc6fcc8565
@ -26,6 +26,7 @@ namespace CosmoTool
|
|||||||
uint32_t getNumPoints() const;
|
uint32_t getNumPoints() const;
|
||||||
void fillWithXY(double *x, double *y) const;
|
void fillWithXY(double *x, double *y) const;
|
||||||
double getMaxX() const;
|
double getMaxX() const;
|
||||||
|
double getXi(int i) const { return spline->x[i]; }
|
||||||
protected:
|
protected:
|
||||||
gsl_interp_accel *accel_interp;
|
gsl_interp_accel *accel_interp;
|
||||||
gsl_spline *spline;
|
gsl_spline *spline;
|
||||||
|
Loading…
Reference in New Issue
Block a user