BSplinebasis
|
Multiplication operator for Operator and scalar. More...
#include <ScalarOperators.h>
Public Member Functions | |
ScalarMultiplication (S s, O o) | |
Multiplication of scalar and Operator. | |
ScalarMultiplication (S s) | |
Multiplication of scalar and a default constructed Operator. | |
template<typename T , size_t size> | |
auto | 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. | |
Multiplication operator for Operator and scalar.
Represents the multiplication of an operator with a scalar.
S | type of the scalar. |
O | type of the operator to be multiplied with the scalar. |
|
inline |
Multiplication of scalar and Operator.
Constructor constructing an ScalarMultiplication from a scalar and an operator.
s | The scalar to be multiplied. |
o | The operator to be multiplied. |
|
inline |
Multiplication of scalar and a default constructed Operator.
Constructor constructing an ScalarMultiplication from a scalar alone.
s | The scalar to be multiplied. |
|
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 spline. |
size | The size of the array, i. e. the number of coefficients. |