Pre-computed B-Spline values In the "order 0" case, the array is not used (the analytical expression is too simple)
More...
|
| | TabulBSpline (unsigned order=3, unsigned nder=1, float scale=1., bool shifted=false, size_t length=std::numeric_limits< unsigned short >::max() - 1) |
| |
| | TabulBSpline (const TabulBSpline &other) |
| |
| virtual | ~TabulBSpline () |
| |
| TabulBSpline & | operator= (const TabulBSpline &other) |
| |
|
| virtual double | at (double x) const |
| | Get valuespline value at point x.
|
| |
| virtual double | derivative (double x, unsigned n=1) const |
| | n-th derivative of the spline at point x
|
| |
|
| virtual void | reset (unsigned order=3, unsigned nder=1, float scale=1., bool shifted=false, size_t length=std::numeric_limits< unsigned short >::max() - 1) |
| | Set parameters Be aware that a call to reset, setOrder, setNbDer and setLength will trigger a reallocation of the array and a recomputing of the values.
|
| |
| virtual void | setOrder (unsigned order) |
| | order
|
| |
| virtual void | setNbDer (unsigned nder) |
| | number of derivative stored
|
| |
| virtual void | setLength (size_t length) |
| | array length
|
| |
|
| virtual unsigned | nder () const |
| | Get parametersnumber of derivative stored.
|
| |
| virtual size_t | length () const |
| | array length
|
| |
| | BSpline (unsigned order=3, float scale=1., bool shifted=false) |
| |
| | BSpline (const BSpline &other) |
| |
| virtual | ~BSpline () |
| |
| BSpline & | operator= (const BSpline &other) |
| |
| virtual void | reset (unsigned order=3, float scale=1., bool shifted=false) |
| | Set parameters @ { (Re)set all parameters.
|
| |
| virtual void | setScale (float scale) |
| | scale
|
| |
| virtual void | setShifted (bool shifted) |
| | shifted
|
| |
| virtual void | setCentered (bool centered) |
| | centered
|
| |
| unsigned | order () const |
| | Get parameters @ { spline order.
|
| |
| float | scale () const |
| | spline scale
|
| |
| bool | shifted () const |
| | is shifted ?
|
| |
| bool | centered () const |
| | is centered ?
|
| |
| virtual double | operator() (double x) const |
| | Compute value.
|
| |
| virtual const Point2dd & | support () const |
| | Get the inferior and superior boundaries of the function support (i.e.
|
| |
Pre-computed B-Spline values In the "order 0" case, the array is not used (the analytical expression is too simple)
See BSpline for information on values computation
Definition at line 251 of file bspline.h.
| virtual void aims::TabulBSpline::reset |
( |
unsigned | order = 3, |
|
|
unsigned | nder = 1, |
|
|
float | scale = 1., |
|
|
bool | shifted = false, |
|
|
size_t | length = std::numeric_limits< unsigned short >::max() - 1 ) |
|
virtual |