BSplinebasis
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
bspline::operators::IdentityOperator Class Referencefinal

Multiplicative identity operator. More...

#include <GenericOperators.h>

Inheritance diagram for bspline::operators::IdentityOperator:
Inheritance graph
[legend]
Collaboration diagram for bspline::operators::IdentityOperator:
Collaboration graph
[legend]

Public Member Functions

template<typename T , size_t size>
std::array< T, size > transform (const std::array< T, size > &input, const support::Grid< T > &grid, size_t intervalIndex) const
 Applies operator on one interval.
 

Static Public Member Functions

static constexpr size_t outputOrder (size_t inputOrder)
 Order of the resulting Spline.
 

Detailed Description

Multiplicative identity operator.

Represents the identity operator.

Member Function Documentation

◆ outputOrder()

static constexpr size_t bspline::operators::IdentityOperator::outputOrder ( size_t  inputOrder)
inlinestaticconstexpr

Order of the resulting Spline.

Returns the order of the output Spline for a given input order.

Parameters
inputOrderthe order of the input Spline.
Returns
The output Spline-order for a given input input order.

◆ transform()

template<typename T , size_t size>
std::array< T, size > bspline::operators::IdentityOperator::transform ( const std::array< T, size > &  input,
const support::Grid< T > &  grid,
size_t  intervalIndex 
) const
inline

Applies operator on one interval.

Applies the operator to a set of coefficients (representing a polynomial on one interval).

Parameters
inputThe polynomial coefficients.
gridThe global grid with respect to which the splines are defined.
intervalIndexThe index of the begin of the interval with respect to the global grid.
Template Parameters
TThe datatype of the coefficients.
sizeThe size of the array, i. e. the number of coefficients.
Returns
The polyomial coefficients arising from the application of the operator to the input coefficients.

The documentation for this class was generated from the following file: