DDC 0.1.0
Loading...
Searching...
No Matches
ddc::NonUniformBSplines< CDim, D > Class Template Reference

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

#include <bsplines_non_uniform.hpp>

Inheritance diagram for ddc::NonUniformBSplines< CDim, D >:
Inheritance graph
Collaboration diagram for ddc::NonUniformBSplines< CDim, D >:
Collaboration graph

Classes

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

Public Types

using continuous_dimension_type = CDim
 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 CDim, std::size_t D>
class ddc::NonUniformBSplines< CDim, 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
CDimThe tag identifying the continuous dimension on which the support of the B-spline functions are defined.
DThe degree of the B-splines.

Definition at line 41 of file bsplines_non_uniform.hpp.

Member Typedef Documentation

◆ continuous_dimension_type

template<class CDim , std::size_t D>
using ddc::NonUniformBSplines< CDim, D >::continuous_dimension_type = CDim

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

Definition at line 47 of file bsplines_non_uniform.hpp.

◆ discrete_dimension_type

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

The discrete dimension identifying B-splines.

Definition at line 50 of file bsplines_non_uniform.hpp.

Member Function Documentation

◆ degree()

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

The degree of B-splines.

Returns
The degree.

Definition at line 56 of file bsplines_non_uniform.hpp.

◆ is_periodic()

template<class CDim , std::size_t D>
static constexpr bool ddc::NonUniformBSplines< CDim, 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.

Definition at line 65 of file bsplines_non_uniform.hpp.

◆ is_uniform()

template<class CDim , std::size_t D>
static constexpr bool ddc::NonUniformBSplines< CDim, 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.

Definition at line 74 of file bsplines_non_uniform.hpp.


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