BSplinebasis
|
Derivative operator. More...
#include <Derivative.h>
Public Member Functions | |
template<typename T , size_t size> | |
std::array< T, outputOrder(size - 1)+1 > | transform (const std::array< T, size > &input, const support::Grid< T > &grid, size_t intervalIndex) const |
Applies operator to one interval. | |
Static Public Member Functions | |
static constexpr size_t | outputOrder (size_t inputOrder) |
Returns the order of the output spline for a given input order. | |
Derivative operator.
Represents the derivative operator
n | Order of the derivative. |
|
inlinestaticconstexpr |
Returns the order of the output spline for a given input order.
inputOrder | the order of the input spline. |
|
inline |
Applies operator to one interval.
Applies the operator to a set of coefficients (representing a polynomial on one interval).
input | The polynomial coefficients. |
grid | The global grid with respect to which the splines are defined. |
intervalIndex | The index of the begin of the interval with respect to the global grid. |
T | The datatype of the coefficients. |
size | The size of the input array, i. e. the number of coefficients. |