ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::mad::RotationFunction< T >::RotationFunctionPD Class Reference
Inheritance diagram for adore::mad::RotationFunction< T >::RotationFunctionPD:
Inheritance graph
Collaboration diagram for adore::mad::RotationFunction< T >::RotationFunctionPD:
Collaboration graph

Public Types

typedef T DT
 
typedef adoreMatrix< T, 2, 2 > CT
 

Public Member Functions

virtual CT f (DT x) const override
 
virtual DT limitHi () const override
 
virtual DT limitLo () const override
 
virtual void setLimits (DT lo, DT hi) override
 
virtual ALFunction< T, adoreMatrix< T, 2, 2 > > * clone () override
 
virtual ALFunction< DT, CT > * create_derivative () override
 
virtual void bound (const DT &xmin, const DT &xmax, CT &ymin, CT &ymax) override
 
 RotationFunctionPD (ALFunction< T, T > *sub)
 
virtual ~RotationFunctionPD ()
 
- Public Member Functions inherited from adore::mad::ALFunction< T, adoreMatrix< T, 2, 2 > >
virtual void f (T *xvec, adoreMatrix< T, 2, 2 > *yvec, unsigned int count) const
 
void bound (adoreMatrix< T, 2, 2 > &ymin, adoreMatrix< T, 2, 2 > &ymax)
 
virtual ~ALFunction ()
 
 ALFunction ()
 
const adoreMatrix< T, 2, 2 > operator() (T x) const
 
bool isInDomain (T x)
 
adoreMatrix< T, 2, 2 > f_bounded (T x)
 
void invalidateCachedBounds ()
 

Private Attributes

ALFunction< T, T > * m_sub
 

Detailed Description

template<typename T>
class adore::mad::RotationFunction< T >::RotationFunctionPD

a rotation functions derivative: [0,-f(x);f(x),0]

Member Typedef Documentation

◆ CT

template<typename T >
typedef adoreMatrix<T, 2, 2> adore::mad::RotationFunction< T >::RotationFunctionPD::CT

◆ DT

template<typename T >
typedef T adore::mad::RotationFunction< T >::RotationFunctionPD::DT

Constructor & Destructor Documentation

◆ RotationFunctionPD()

template<typename T >
adore::mad::RotationFunction< T >::RotationFunctionPD::RotationFunctionPD ( ALFunction< T, T > *  sub)
inline
Here is the caller graph for this function:

◆ ~RotationFunctionPD()

template<typename T >
virtual adore::mad::RotationFunction< T >::RotationFunctionPD::~RotationFunctionPD ( )
inlinevirtual

Member Function Documentation

◆ bound()

template<typename T >
virtual void adore::mad::RotationFunction< T >::RotationFunctionPD::bound ( const DT xmin,
const DT xmax,
CT ymin,
CT ymax 
)
inlineoverridevirtual

bound function values in the x-range defined by the hypercube between corner points lower left xmin and upper right xmax

Implements adore::mad::ALFunction< T, adoreMatrix< T, 2, 2 > >.

Here is the call graph for this function:

◆ clone()

template<typename T >
virtual ALFunction<T, adoreMatrix<T, 2, 2> >* adore::mad::RotationFunction< T >::RotationFunctionPD::clone ( )
inlineoverridevirtual

create a copy of child class object - is used for function operations

Implements adore::mad::ALFunction< T, adoreMatrix< T, 2, 2 > >.

Here is the call graph for this function:

◆ create_derivative()

template<typename T >
virtual ALFunction<DT, CT>* adore::mad::RotationFunction< T >::RotationFunctionPD::create_derivative ( )
inlineoverridevirtual

create a new function object, which is the derivative function

Implements adore::mad::ALFunction< T, adoreMatrix< T, 2, 2 > >.

Here is the call graph for this function:

◆ f()

template<typename T >
virtual CT adore::mad::RotationFunction< T >::RotationFunctionPD::f ( DT  x) const
inlineoverridevirtual

function evaluation returns y of codomain type CT for a value x of domain type DT

Implements adore::mad::ALFunction< T, adoreMatrix< T, 2, 2 > >.

Here is the call graph for this function:

◆ limitHi()

template<typename T >
virtual DT adore::mad::RotationFunction< T >::RotationFunctionPD::limitHi ( ) const
inlineoverridevirtual

query upper limit of the domain

Implements adore::mad::ALFunction< T, adoreMatrix< T, 2, 2 > >.

Here is the call graph for this function:

◆ limitLo()

template<typename T >
virtual DT adore::mad::RotationFunction< T >::RotationFunctionPD::limitLo ( ) const
inlineoverridevirtual

lower limit of the domain

Implements adore::mad::ALFunction< T, adoreMatrix< T, 2, 2 > >.

Here is the call graph for this function:

◆ setLimits()

template<typename T >
virtual void adore::mad::RotationFunction< T >::RotationFunctionPD::setLimits ( DT  lo,
DT  hi 
)
inlineoverridevirtual

reduce or increase the limit of the function, without changing y

Implements adore::mad::ALFunction< T, adoreMatrix< T, 2, 2 > >.

Here is the call graph for this function:

Member Data Documentation

◆ m_sub

template<typename T >
ALFunction<T, T>* adore::mad::RotationFunction< T >::RotationFunctionPD::m_sub
private

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