Alamo
Public Member Functions | Static Public Member Functions | Protected Attributes | Friends
Numeric::Interpolator::Linear< T > Class Template Reference
Inheritance diagram for Numeric::Interpolator::Linear< T >:
[legend]
Collaboration diagram for Numeric::Interpolator::Linear< T >:
[legend]

Public Member Functions

 Linear ()
 
 ~Linear ()
 
 Linear (const Set::Scalar &a_val)
 
 Linear (const std::string a_str)
 
 Linear (const std::vector< T > _data_points, const std::vector< Set::Scalar > _interval_points)
 
void define (const std::string a_str)
 
void define (const std::vector< T > _data_points, const std::vector< Set::Scalar > _interval_points)
 
operator() (const Set::Scalar point) const
 
ALAMO_SINGLE_DEFINITION Linear< Set::ScalarRead (std::string filename, int derivative)
 
- Public Member Functions inherited from Numeric::Interpolator::Interpolator< T >
 Interpolator ()
 

Static Public Member Functions

static void Parse (Linear< T > &value, IO::ParmParse &pp)
 
static Linear< T > Read (std::string filename, int derivative=0)
 

Protected Attributes

std::vector< T > data_points
 
std::vector< Set::Scalarinterval_points
 
bool uniform = true
 

Friends

template<class U >
Linear< U > operator* (const Set::Scalar alpha, const Linear< U > &b)
 

Detailed Description

template<class T>
class Numeric::Interpolator::Linear< T >

Definition at line 52 of file Linear.H.

Constructor & Destructor Documentation

◆ Linear() [1/4]

template<class T >
Numeric::Interpolator::Linear< T >::Linear ( )
inline

Definition at line 55 of file Linear.H.

◆ ~Linear()

template<class T >
Numeric::Interpolator::Linear< T >::~Linear ( )
inline

Definition at line 56 of file Linear.H.

◆ Linear() [2/4]

template<class T >
Numeric::Interpolator::Linear< T >::Linear ( const Set::Scalar a_val)
inline

Definition at line 57 of file Linear.H.

◆ Linear() [3/4]

template<class T >
Numeric::Interpolator::Linear< T >::Linear ( const std::string  a_str)
inline

Definition at line 62 of file Linear.H.

◆ Linear() [4/4]

template<class T >
Numeric::Interpolator::Linear< T >::Linear ( const std::vector< T >  _data_points,
const std::vector< Set::Scalar _interval_points 
)
inline

Definition at line 66 of file Linear.H.

Member Function Documentation

◆ define() [1/2]

template<class T >
void Numeric::Interpolator::Linear< T >::define ( const std::string  a_str)
inline

Definition at line 71 of file Linear.H.

◆ define() [2/2]

template<class T >
void Numeric::Interpolator::Linear< T >::define ( const std::vector< T >  _data_points,
const std::vector< Set::Scalar _interval_points 
)
inline

Definition at line 106 of file Linear.H.

◆ operator()()

template<class T >
T Numeric::Interpolator::Linear< T >::operator() ( const Set::Scalar  point) const
inline

Definition at line 114 of file Linear.H.

◆ Parse()

template<class T >
static void Numeric::Interpolator::Linear< T >::Parse ( Linear< T > &  value,
IO::ParmParse pp 
)
inlinestatic

Definition at line 152 of file Linear.H.

◆ Read() [1/2]

ALAMO_SINGLE_DEFINITION Linear< Set::Scalar > Numeric::Interpolator::Linear< Set::Scalar >::Read ( std::string  filename,
int  derivative 
)

Definition at line 185 of file Linear.H.

◆ Read() [2/2]

template<class T >
static Linear<T> Numeric::Interpolator::Linear< T >::Read ( std::string  filename,
int  derivative = 0 
)
static

Friends And Related Function Documentation

◆ operator*

template<class T >
template<class U >
Linear<U> operator* ( const Set::Scalar  alpha,
const Linear< U > &  b 
)
friend

Field Documentation

◆ data_points

template<class T >
std::vector<T> Numeric::Interpolator::Linear< T >::data_points
protected

Definition at line 163 of file Linear.H.

◆ interval_points

template<class T >
std::vector<Set::Scalar> Numeric::Interpolator::Linear< T >::interval_points
protected

Definition at line 164 of file Linear.H.

◆ uniform

template<class T >
bool Numeric::Interpolator::Linear< T >::uniform = true
protected

Definition at line 165 of file Linear.H.


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