Main MRPT website > C++ reference for MRPT 1.4.0
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 64 of file types_math.h.

#include <mrpt/utils/types_math.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)
 
 dynamic_vector (size_t length, float value)
 Constructor to given size and all entries to some value.
 

Member Typedef Documentation

◆ Base

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

Definition at line 67 of file types_math.h.

◆ mrpt_autotype

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

Definition at line 68 of file types_math.h.

◆ value_type

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

Definition at line 69 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 74 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 76 of file types_math.h.




Page generated by Doxygen 1.9.7 for MRPT 1.4.0 SVN: at Tue Jun 13 13:45:58 UTC 2023