trajectory_collection
Public Member Functions | List of all members
TrajColl::Func< T > Class Template Referenceabstract

Mathematical function. More...

#include <Func.h>

Inheritance diagram for TrajColl::Func< T >:
Inheritance graph
[legend]

Public Member Functions

 Func ()
 Constructor. More...
 
virtual T operator() (double t) const =0
 Evaluate function value. More...
 
virtual T derivative (double t, int order=1) const =0
 Evaluate function derivative value. More...
 
virtual double domainLowerLimit () const
 Get lower limit of domain. More...
 
virtual double domainUpperLimit () const
 Get upper limit of domain. More...
 

Detailed Description

template<class T>
class TrajColl::Func< T >

Mathematical function.

Template Parameters
Tfunction value type

Definition at line 17 of file Func.h.

Constructor & Destructor Documentation

◆ Func()

template<class T >
TrajColl::Func< T >::Func ( )
inline

Constructor.

Definition at line 21 of file Func.h.

Member Function Documentation

◆ derivative()

template<class T >
virtual T TrajColl::Func< T >::derivative ( double  t,
int  order = 1 
) const
pure virtual

Evaluate function derivative value.

Parameters
tarugment of function
orderderivative order

Implemented in TrajColl::CubicHermiteSpline< T >, TrajColl::PiecewiseFunc< T >, TrajColl::Polynomial< T, Order >, and TrajColl::Polynomial< T, 0 >.

◆ domainLowerLimit()

template<class T >
virtual double TrajColl::Func< T >::domainLowerLimit ( ) const
inlinevirtual

Get lower limit of domain.

Reimplemented in TrajColl::PiecewiseFunc< T >.

Definition at line 35 of file Func.h.

◆ domainUpperLimit()

template<class T >
virtual double TrajColl::Func< T >::domainUpperLimit ( ) const
inlinevirtual

Get upper limit of domain.

Reimplemented in TrajColl::PiecewiseFunc< T >.

Definition at line 41 of file Func.h.

◆ operator()()

template<class T >
virtual T TrajColl::Func< T >::operator() ( double  t) const
pure virtual

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