Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Public Types | Public Member Functions
mrpt::math::dynamic_vector< T > Class Template Reference

Detailed Description

template<typename T>
class mrpt::math::dynamic_vector< T >

Column vector, like Eigen::MatrixX*, but automatically initialized to zeros since construction.

Definition at line 42 of file eigen_frwds.h.

#include <mrpt/math/eigen_frwds.h>

Inheritance diagram for mrpt::math::dynamic_vector< T >:
Inheritance graph

Public Types

typedef Eigen::Matrix< T, Eigen::Dynamic, 1 > Base
 
typedef dynamic_vector< T > mrpt_autotype
 
typedef T value_type
 

Public Member Functions

 dynamic_vector (size_t length=0)
 Default constructor (vector of given size set to zero) More...
 
 dynamic_vector (size_t length, float value)
 Constructor to given size and all entries to some value. More...
 

Member Typedef Documentation

◆ Base

template<typename T>
typedef Eigen::Matrix<T, Eigen::Dynamic, 1> mrpt::math::dynamic_vector< T >::Base

Definition at line 72 of file types_math.h.

◆ mrpt_autotype

template<typename T>
typedef dynamic_vector<T> mrpt::math::dynamic_vector< T >::mrpt_autotype

Definition at line 73 of file types_math.h.

◆ value_type

template<typename T>
typedef T mrpt::math::dynamic_vector< T >::value_type

Definition at line 74 of file types_math.h.

Constructor & Destructor Documentation

◆ dynamic_vector() [1/2]

template<typename T>
mrpt::math::dynamic_vector< T >::dynamic_vector ( size_t  length = 0)
inline

Default constructor (vector of given size set to zero)

Definition at line 79 of file types_math.h.

◆ dynamic_vector() [2/2]

template<typename T>
mrpt::math::dynamic_vector< T >::dynamic_vector ( size_t  length,
float  value 
)
inline

Constructor to given size and all entries to some value.

Definition at line 81 of file types_math.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019