DDC 0.0.0

a discrete domain computation library

ddc::NonUniformBSplines< Tag, D > Class Template Reference

The type of a non-uniform 1D spline basis (B-spline). More...

Inheritance diagram for ddc::NonUniformBSplines< Tag, D >:
Inheritance graph

Classes

class  Impl
 Storage class of the static attributes of the discrete dimension. More...
 

Public Types

using tag_type = Tag
 The tag identifying the continuous dimension on which the support of the B-splines are defined.
 
using discrete_dimension_type = NonUniformBSplines
 The discrete dimension identifying B-splines.
 

Static Public Member Functions

static constexpr std::size_t degree () noexcept
 The degree of B-splines.
 
static constexpr bool is_periodic () noexcept
 Indicates if the B-splines are periodic or not.
 
static constexpr bool is_uniform () noexcept
 Indicates if the B-splines are uniform or not (this is not the case here).
 

Detailed Description

template<class Tag, std::size_t D>
class ddc::NonUniformBSplines< Tag, D >

The type of a non-uniform 1D spline basis (B-spline).

Knots for non-uniform B-splines are non-uniformly distributed (no assumption is made on the uniformity of their distribution, the associated discrete dimension is a NonUniformPointSampling).

Template Parameters
TagThe tag identifying the continuous dimension on which the support of the B-spline functions are defined.
DThe degree of the B-splines.

Member Typedef Documentation

◆ tag_type

template<class Tag , std::size_t D>
using ddc::NonUniformBSplines< Tag, D >::tag_type = Tag

The tag identifying the continuous dimension on which the support of the B-splines are defined.

◆ discrete_dimension_type

template<class Tag , std::size_t D>
using ddc::NonUniformBSplines< Tag, D >::discrete_dimension_type = NonUniformBSplines

The discrete dimension identifying B-splines.

Member Function Documentation

◆ degree()

template<class Tag , std::size_t D>
static constexpr std::size_t ddc::NonUniformBSplines< Tag, D >::degree ( )
inlinestaticconstexprnoexcept

The degree of B-splines.

Returns
The degree.

◆ is_periodic()

template<class Tag , std::size_t D>
static constexpr bool ddc::NonUniformBSplines< Tag, D >::is_periodic ( )
inlinestaticconstexprnoexcept

Indicates if the B-splines are periodic or not.

Returns
A boolean indicating if the B-splines are periodic or not.

◆ is_uniform()

template<class Tag , std::size_t D>
static constexpr bool ddc::NonUniformBSplines< Tag, D >::is_uniform ( )
inlinestaticconstexprnoexcept

Indicates if the B-splines are uniform or not (this is not the case here).

Returns
A boolean indicating if the B-splines are uniform or not.

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