#include <SplineSpace.h>
Inheritance diagram for SplineSpace::

Public Methods | |
| SplineSpace () | |
| SplineSpace (const KnotVec &knots, int k) | |
| ~SplineSpace () | |
| bool | redim (const KnotVec &kv, int k_) |
| bool | redim (const SplineSpace &space) |
| bool | ok () const |
| void | getKnotVec (VecSimple(real) &kv) const |
| int | order () const |
| int | dimension () const |
| void | print (Os os) |
| void | BSplines (real x, int r, Mat(NUMT) &values, int &miu, bool miuOk=false) const |
| void | BSplineTableA (const VecSimple(real) &x, MatBand(NUMT) &table) const |
| void | BSplineTableA (const VecSimple(real) &x, Mat(NUMT) &table) const |
NAME: SplineSpace - representation of spline spaces
DESCRIPTION:
The class "SplineSpace" defines a spline space with "k" as order and "knots" as the knot vector we need to build up the B-splines.
The most important function in the class is "BSplines". This function calculates "k" spline basis function values. Derivations are also possible.
|
|
No special initialization needed. |
|
|
|
|
|
|
|
|
See documentation of one of the overloaded functions. |
|
|
fills a "MatBand(real)" if this type of matrix is sent in. This is useful in the usual interpolation cases. It also fills a "Mat(real)" if the input argument is of this type. This function is usually called within the least square interpolation. |
|
|
gets k basis spline function values. If a positive integer "r" is sent in, the corresponding derivativeas are calculated instead. In case that "miuOk" gets a "true" value member function "mu" will be skipped. The function has its quick version designed specially for cubic situation. |
|
|
gives the dimension of the spline space. |
|
|
returns the distinct knot values inside the knot vector. |
|
|
checks whether the space is ready for usage. |
|
|
gives the order of the spline space. |
|
|
prints out the information of order and knot vector. |
|
|
See documentation of one of the overloaded functions. |
|
|
rebinds a new knot vector and order of it to the space. |