Orocos KDL
KDL::Rall2d< T, V, S > Class Template Reference

#include <rall2d.h>

Public Member Functions

INLINE Rall2d ()
INLINE Rall2d (typename TI< T >::Arg c)
INLINE Rall2d (typename TI< T >::Arg tn, const V &afg)
INLINE Rall2d (typename TI< T >::Arg tn, const V &afg, const V &afg2)
INLINE Rall2d (const Rall2d< T, V, S > &r)
INLINE T & Value ()
INLINE V & D ()
INLINE V & DD ()
INLINE Rall2d< T, V, S > & operator= (S c)
INLINE Rall2d< T, V, S > & operator= (const Rall2d< T, V, S > &r)
INLINE Rall2d< T, V, S > & operator/= (const Rall2d< T, V, S > &rhs)
INLINE Rall2d< T, V, S > & operator*= (const Rall2d< T, V, S > &rhs)
INLINE Rall2d< T, V, S > & operator+= (const Rall2d< T, V, S > &rhs)
INLINE Rall2d< T, V, S > & operator-= (const Rall2d< T, V, S > &rhs)
INLINE Rall2d< T, V, S > & operator/= (S rhs)
INLINE Rall2d< T, V, S > & operator*= (S rhs)
INLINE Rall2d< T, V, S > & operator-= (S rhs)
INLINE Rall2d< T, V, S > & operator+= (S rhs)

Static Public Member Functions

static INLINE Rall2d< T, V, S > Zero ()
static INLINE Rall2d< T, V, S > Identity ()

Public Attributes

T t
 value
V d
 1st derivative
V dd
 2nd derivative

Detailed Description

template<class T, class V = T, class S = T>
class KDL::Rall2d< T, V, S >

Rall2d contains a value, and its gradient and its 2nd derivative, and defines an algebraic structure on this pair. This template class has 3 template parameters :

  • T contains the type of the value.
  • V contains the type of the gradient (can be a vector-like type).
  • S defines a scalar type that can operate on Rall1d. This is the type that is used to give back values of Norm() etc.

S is useful when you recurse a Rall1d object into itself to create a 2nd, 3rd, 4th,.. derivatives. (e.g. Rall1d< Rall1d<double>, Rall1d<double>, double> ).

S is always passed by value.

Class Type
Concrete implementation

Constructor & Destructor Documentation

◆ Rall2d() [1/5]

template<class T, class V = T, class S = T>
INLINE KDL::Rall2d< T, V, S >::Rall2d ( )
inline

◆ Rall2d() [2/5]

template<class T, class V = T, class S = T>
INLINE KDL::Rall2d< T, V, S >::Rall2d ( typename TI< T >::Arg c)
inlineexplicit

◆ Rall2d() [3/5]

template<class T, class V = T, class S = T>
INLINE KDL::Rall2d< T, V, S >::Rall2d ( typename TI< T >::Arg tn,
const V & afg )
inline

◆ Rall2d() [4/5]

template<class T, class V = T, class S = T>
INLINE KDL::Rall2d< T, V, S >::Rall2d ( typename TI< T >::Arg tn,
const V & afg,
const V & afg2 )
inline

◆ Rall2d() [5/5]

template<class T, class V = T, class S = T>
INLINE KDL::Rall2d< T, V, S >::Rall2d ( const Rall2d< T, V, S > & r)
inline

Member Function Documentation

◆ D()

template<class T, class V = T, class S = T>
INLINE V & KDL::Rall2d< T, V, S >::D ( )
inline

◆ DD()

template<class T, class V = T, class S = T>
INLINE V & KDL::Rall2d< T, V, S >::DD ( )
inline

◆ Identity()

template<class T, class V = T, class S = T>
INLINE Rall2d< T, V, S > KDL::Rall2d< T, V, S >::Identity ( )
inlinestatic

◆ operator*=() [1/2]

template<class T, class V = T, class S = T>
INLINE Rall2d< T, V, S > & KDL::Rall2d< T, V, S >::operator*= ( const Rall2d< T, V, S > & rhs)
inline

◆ operator*=() [2/2]

template<class T, class V = T, class S = T>
INLINE Rall2d< T, V, S > & KDL::Rall2d< T, V, S >::operator*= ( S rhs)
inline

◆ operator+=() [1/2]

template<class T, class V = T, class S = T>
INLINE Rall2d< T, V, S > & KDL::Rall2d< T, V, S >::operator+= ( const Rall2d< T, V, S > & rhs)
inline

◆ operator+=() [2/2]

template<class T, class V = T, class S = T>
INLINE Rall2d< T, V, S > & KDL::Rall2d< T, V, S >::operator+= ( S rhs)
inline

◆ operator-=() [1/2]

template<class T, class V = T, class S = T>
INLINE Rall2d< T, V, S > & KDL::Rall2d< T, V, S >::operator-= ( const Rall2d< T, V, S > & rhs)
inline

◆ operator-=() [2/2]

template<class T, class V = T, class S = T>
INLINE Rall2d< T, V, S > & KDL::Rall2d< T, V, S >::operator-= ( S rhs)
inline

◆ operator/=() [1/2]

template<class T, class V = T, class S = T>
INLINE Rall2d< T, V, S > & KDL::Rall2d< T, V, S >::operator/= ( const Rall2d< T, V, S > & rhs)
inline

◆ operator/=() [2/2]

template<class T, class V = T, class S = T>
INLINE Rall2d< T, V, S > & KDL::Rall2d< T, V, S >::operator/= ( S rhs)
inline

◆ operator=() [1/2]

template<class T, class V = T, class S = T>
INLINE Rall2d< T, V, S > & KDL::Rall2d< T, V, S >::operator= ( const Rall2d< T, V, S > & r)
inline

◆ operator=() [2/2]

template<class T, class V = T, class S = T>
INLINE Rall2d< T, V, S > & KDL::Rall2d< T, V, S >::operator= ( S c)
inline

◆ Value()

template<class T, class V = T, class S = T>
INLINE T & KDL::Rall2d< T, V, S >::Value ( )
inline

◆ Zero()

template<class T, class V = T, class S = T>
INLINE Rall2d< T, V, S > KDL::Rall2d< T, V, S >::Zero ( )
inlinestatic

Member Data Documentation

◆ d

template<class T, class V = T, class S = T>
V KDL::Rall2d< T, V, S >::d

1st derivative

◆ dd

template<class T, class V = T, class S = T>
V KDL::Rall2d< T, V, S >::dd

2nd derivative

◆ t

template<class T, class V = T, class S = T>
T KDL::Rall2d< T, V, S >::t

value


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