ALFI
Advanced Library for Function Interpolation
Loading...
Searching...
No Matches
alfi::spline::StepSpline< Number, Container > Class Template Reference

#include <step.h>

Classes

struct  Types
 

Public Types

using Type
 

Public Member Functions

 StepSpline ()=default
 
template<typename ContainerXType, typename ContainerYType>
 StepSpline (ContainerXType &&X, ContainerYType &&Y, Type type=typename Types::Default{})
 
 StepSpline (const StepSpline &other)=default
 
 StepSpline (StepSpline &&other) noexcept=default
 
StepSplineoperator= (const StepSpline &other)=default
 
StepSplineoperator= (StepSpline &&other) noexcept=default
 
template<typename ContainerXType, typename ContainerYType>
void construct (ContainerXType &&X, ContainerYType &&Y, Type type=typename Types::Default{})
 
Number eval (Number x) const
 
Number eval (Number x, SizeT segment) const
 
Container< Number > eval (const Container< Number > &xx, bool sorted=true) const
 
Number operator() (Number x) const
 
Container< Number > operator() (const Container< Number > &xx) const
 
Type type () const
 
const Container< Number > & X () const &
 
Container< Number > && X () &&
 
const Container< Number > & Y () const &
 
Container< Number > && Y () &&
 

Member Typedef Documentation

◆ Type

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
using alfi::spline::StepSpline< Number, Container >::Type
Initial value:

Constructor & Destructor Documentation

◆ StepSpline() [1/4]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
alfi::spline::StepSpline< Number, Container >::StepSpline ( )
default

◆ StepSpline() [2/4]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
template<typename ContainerXType, typename ContainerYType>
alfi::spline::StepSpline< Number, Container >::StepSpline ( ContainerXType && X,
ContainerYType && Y,
Type type = typename Types::Default{} )
inline

◆ StepSpline() [3/4]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
alfi::spline::StepSpline< Number, Container >::StepSpline ( const StepSpline< Number, Container > & other)
default

◆ StepSpline() [4/4]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
alfi::spline::StepSpline< Number, Container >::StepSpline ( StepSpline< Number, Container > && other)
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
StepSpline & alfi::spline::StepSpline< Number, Container >::operator= ( const StepSpline< Number, Container > & other)
default

◆ operator=() [2/2]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
StepSpline & alfi::spline::StepSpline< Number, Container >::operator= ( StepSpline< Number, Container > && other)
defaultnoexcept

◆ construct()

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
template<typename ContainerXType, typename ContainerYType>
void alfi::spline::StepSpline< Number, Container >::construct ( ContainerXType && X,
ContainerYType && Y,
Type type = typename Types::Default{} )
inline

◆ eval() [1/3]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
Number alfi::spline::StepSpline< Number, Container >::eval ( Number x) const
inline

◆ eval() [2/3]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
Number alfi::spline::StepSpline< Number, Container >::eval ( Number x,
SizeT segment ) const
inline

◆ eval() [3/3]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
Container< Number > alfi::spline::StepSpline< Number, Container >::eval ( const Container< Number > & xx,
bool sorted = true ) const
inline

◆ operator()() [1/2]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
Number alfi::spline::StepSpline< Number, Container >::operator() ( Number x) const
inline

◆ operator()() [2/2]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
Container< Number > alfi::spline::StepSpline< Number, Container >::operator() ( const Container< Number > & xx) const
inline

◆ type()

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
Type alfi::spline::StepSpline< Number, Container >::type ( ) const
inline

◆ X() [1/2]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
const Container< Number > & alfi::spline::StepSpline< Number, Container >::X ( ) const &
inline

◆ X() [2/2]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
Container< Number > && alfi::spline::StepSpline< Number, Container >::X ( ) &&
inline

◆ Y() [1/2]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
const Container< Number > & alfi::spline::StepSpline< Number, Container >::Y ( ) const &
inline

◆ Y() [2/2]

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
Container< Number > && alfi::spline::StepSpline< Number, Container >::Y ( ) &&
inline

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