- 3.0.2 core module.
ct::core::ControlVector< CONTROL_DIM, SCALAR > Class Template Reference

#include <ControlVector.h>

Inheritance diagram for ct::core::ControlVector< CONTROL_DIM, SCALAR >:

Public Types

typedef Eigen::Matrix< SCALAR, CONTROL_DIM, 1 > Base
 

Public Member Functions

 ControlVector ()
 
virtual ~ControlVector ()
 
template<typename OtherDerived >
 ControlVector (const Eigen::MatrixBase< OtherDerived > &other)
 This constructor allows you to construct MyVectorType from Eigen expressions. More...
 
template<typename OtherDerived >
ControlVectoroperator= (const Eigen::MatrixBase< OtherDerived > &other)
 This method allows you to assign Eigen expressions to MyVectorType. More...
 
BasetoImplementation ()
 get underlying Eigen type More...
 
const BasetoImplementation () const
 get const underlying Eigen type More...
 

Static Public Attributes

static EIGEN_MAKE_ALIGNED_OPERATOR_NEW const size_t DIM = CONTROL_DIM
 

Detailed Description

template<int CONTROL_DIM, class SCALAR = double>
class ct::core::ControlVector< CONTROL_DIM, SCALAR >

Examples:
AutoDiffLinearizerTest.cpp, and SecondOrderSystemTest.cpp.

Member Typedef Documentation

◆ Base

template<int CONTROL_DIM, class SCALAR = double>
typedef Eigen::Matrix<SCALAR, CONTROL_DIM, 1> ct::core::ControlVector< CONTROL_DIM, SCALAR >::Base

Constructor & Destructor Documentation

◆ ControlVector() [1/2]

template<int CONTROL_DIM, class SCALAR = double>
ct::core::ControlVector< CONTROL_DIM, SCALAR >::ControlVector ( )
inline

◆ ~ControlVector()

template<int CONTROL_DIM, class SCALAR = double>
virtual ct::core::ControlVector< CONTROL_DIM, SCALAR >::~ControlVector ( )
inlinevirtual

◆ ControlVector() [2/2]

template<int CONTROL_DIM, class SCALAR = double>
template<typename OtherDerived >
ct::core::ControlVector< CONTROL_DIM, SCALAR >::ControlVector ( const Eigen::MatrixBase< OtherDerived > &  other)
inline

This constructor allows you to construct MyVectorType from Eigen expressions.

Member Function Documentation

◆ operator=()

template<int CONTROL_DIM, class SCALAR = double>
template<typename OtherDerived >
ControlVector& ct::core::ControlVector< CONTROL_DIM, SCALAR >::operator= ( const Eigen::MatrixBase< OtherDerived > &  other)
inline

This method allows you to assign Eigen expressions to MyVectorType.

◆ toImplementation() [1/2]

template<int CONTROL_DIM, class SCALAR = double>
Base& ct::core::ControlVector< CONTROL_DIM, SCALAR >::toImplementation ( )
inline

get underlying Eigen type

◆ toImplementation() [2/2]

template<int CONTROL_DIM, class SCALAR = double>
const Base& ct::core::ControlVector< CONTROL_DIM, SCALAR >::toImplementation ( ) const
inline

get const underlying Eigen type

Member Data Documentation

◆ DIM

template<int CONTROL_DIM, class SCALAR = double>
EIGEN_MAKE_ALIGNED_OPERATOR_NEW const size_t ct::core::ControlVector< CONTROL_DIM, SCALAR >::DIM = CONTROL_DIM
static

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