78 bool solve (
const T *y);
The base class for a spline object containing the nodes for a given domain, cutoff wavelength...
Definition: BSplineBase.h:169
This file defines the BSpline library interface.
BSpline(const T *x, int nx, const T *y, double wl, int bc_type=BSplineBase< T >::BC_ZERO_SECOND, int num_nodes=0)
Create a single spline with the parameters required to set up the domain and subsequently smooth the ...
Definition: BSpline.cpp:53
T coefficient(int n)
Return the n-th basis coefficient, from 0 to M.
Definition: BSpline.cpp:141
Definition: BSpline.cpp:40
T slope(T x)
Return the first derivative of the spline curve at the given x.
Definition: BSpline.cpp:160
bool solve(const T *y)
Solve the spline curve for a new set of y values.
Definition: BSpline.cpp:75
T evaluate(T x)
Return the evaluation of the smoothed curve at a particular x value.
Definition: BSpline.cpp:148
Used to evaluate a BSpline.
Definition: BSpline.h:33