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

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

#include <bsplines_uniform.hpp>

Inheritance diagram for ddc::UniformBSplines< CDim, D >:
Inheritance graph
Collaboration diagram for ddc::UniformBSplines< 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 = UniformBSplines
 The discrete dimension representing 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 the case here).
 

Detailed Description

template<class CDim, std::size_t D>
class ddc::UniformBSplines< CDim, D >

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

Knots for uniform B-splines are uniformly distributed (the associated discrete dimension is a UniformPointSampling).

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 46 of file bsplines_uniform.hpp.

Member Typedef Documentation

◆ continuous_dimension_type

template<class CDim , std::size_t D>
using ddc::UniformBSplines< 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 52 of file bsplines_uniform.hpp.

◆ discrete_dimension_type

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

The discrete dimension representing B-splines.

Definition at line 55 of file bsplines_uniform.hpp.

Member Function Documentation

◆ degree()

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

The degree of B-splines.

Returns
The degree.

Definition at line 61 of file bsplines_uniform.hpp.

◆ is_periodic()

template<class CDim , std::size_t D>
static constexpr bool ddc::UniformBSplines< 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 70 of file bsplines_uniform.hpp.

◆ is_uniform()

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

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

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

Definition at line 79 of file bsplines_uniform.hpp.


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