The base class of MRPT vectors, actually, Eigen column matrices of dynamic size with specialized constructors that resemble std::vector.
Definition at line 93 of file base/include/mrpt/utils/types.h.
#include <mrpt/utils/types.h>

Public Types | |
| typedef Eigen::Matrix< T, Eigen::Dynamic, 1 > | Base |
| Base class typedef. | |
| typedef dynamicsize_vector< T > | mrpt_autotype |
| enum | |
| enum | |
| typedef Base::PlainObject | PlainObject |
| enum | |
| enum | |
| typedef internal::traits < Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::StorageKind | StorageKind |
| typedef internal::traits < Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Index | Index |
| typedef internal::traits < Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Scalar | Scalar |
| typedef internal::packet_traits < Scalar >::type | PacketScalar |
| typedef NumTraits< Scalar >::Real | RealScalar |
| typedef Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > | DenseType |
| typedef Eigen::Map< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > , Unaligned > | MapType |
| typedef const Eigen::Map < const Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols >, Unaligned > | ConstMapType |
| typedef Eigen::Map< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols >, Aligned > | AlignedMapType |
| typedef const Eigen::Map < const Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols >, Aligned > | ConstAlignedMapType |
Public Member Functions | |
| dynamicsize_vector () | |
| Default constructor: empty vector. | |
| dynamicsize_vector (size_t N) | |
| Constructor, initializes to a given initial size. | |
| dynamicsize_vector (size_t N, T init_val) | |
| Constructor, initializes to a given initial size, all elements to a given value. | |
| template<typename R > | |
| dynamicsize_vector (const std::vector< R > &v) | |
| Constructor, initializes from a std::vector<> of scalars. | |
| void | resize (const size_t N, const T default_val) |
| Overloaded resize method that mimics std::vector::resize(SIZE,DEFAULT_VALUE) instead of resize(nrows,ncols) | |
| void | resize (const size_t N) |
| Normal resize of the vector (preserving old contents). | |
| void | clear () |
| Reset the vector to a 0-length. | |
| void | reserve (size_t dummy_size) |
| DOES NOTHING (it's here for backward compatibility) | |
| void | swap (MatrixBase< OtherDerived > const &other) |
| Index | innerStride () const |
| Index | outerStride () const |
| Base & | base () |
| const Base & | base () const |
| EIGEN_STRONG_INLINE Index | rows () const |
| EIGEN_STRONG_INLINE Index | cols () const |
| EIGEN_STRONG_INLINE const Scalar & | coeff (Index row, Index col) const |
| EIGEN_STRONG_INLINE const Scalar & | coeff (Index index) const |
| EIGEN_STRONG_INLINE Scalar & | coeffRef (Index row, Index col) |
| EIGEN_STRONG_INLINE Scalar & | coeffRef (Index index) |
| EIGEN_STRONG_INLINE const Scalar & | coeffRef (Index row, Index col) const |
| EIGEN_STRONG_INLINE const Scalar & | coeffRef (Index index) const |
| EIGEN_STRONG_INLINE PacketScalar | packet (Index row, Index col) const |
| EIGEN_STRONG_INLINE PacketScalar | packet (Index index) const |
| EIGEN_STRONG_INLINE void | writePacket (Index row, Index col, const PacketScalar &x) |
| EIGEN_STRONG_INLINE void | writePacket (Index index, const PacketScalar &x) |
| EIGEN_STRONG_INLINE const Scalar * | data () const |
| EIGEN_STRONG_INLINE Scalar * | data () |
| EIGEN_STRONG_INLINE void | resize (Index rows, Index cols) |
Resizes *this to a rows x cols matrix. | |
| void | resize (Index size) |
Resizes *this to a vector of length size. | |
| void | resize (NoChange_t, Index cols) |
| Resizes the matrix, changing only the number of columns. | |
| void | resize (Index rows, NoChange_t) |
| Resizes the matrix, changing only the number of rows. | |
| EIGEN_STRONG_INLINE void | resizeLike (const EigenBase< OtherDerived > &_other) |
Resizes *this to have the same dimensions as other. | |
| EIGEN_STRONG_INLINE void | conservativeResize (Index rows, Index cols) |
| Resizes the matrix to rows x cols while leaving old values untouched. | |
| EIGEN_STRONG_INLINE void | conservativeResize (Index rows, NoChange_t) |
| Resizes the matrix to rows x cols while leaving old values untouched. | |
| EIGEN_STRONG_INLINE void | conservativeResize (NoChange_t, Index cols) |
| Resizes the matrix to rows x cols while leaving old values untouched. | |
| EIGEN_STRONG_INLINE void | conservativeResize (Index size) |
| Resizes the vector to size while retaining old values. | |
| EIGEN_STRONG_INLINE void | conservativeResizeLike (const DenseBase< OtherDerived > &other) |
Resizes the matrix to rows x cols of other, while leaving old values untouched. | |
| EIGEN_STRONG_INLINE Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & | lazyAssign (const DenseBase< OtherDerived > &other) |
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & | setConstant (Index size, const Scalar &value) |
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & | setConstant (Index rows, Index cols, const Scalar &value) |
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & | setZero (Index size) |
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & | setZero (Index rows, Index cols) |
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & | setOnes (Index size) |
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & | setOnes (Index rows, Index cols) |
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & | setRandom (Index size) |
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & | setRandom (Index rows, Index cols) |
Static Public Member Functions | |
Map | |
These are convenience functions returning Map objects. The Map() static functions return unaligned Map objects, while the AlignedMap() functions return aligned Map objects and thus should be called only with 16-byte-aligned data pointers. These methods do not allow to specify strides. If you need to specify strides, you have to use the Map class directly.
| |
| static ConstMapType | Map (const Scalar *data) |
| static MapType | Map (Scalar *data) |
| static ConstMapType | Map (const Scalar *data, Index size) |
| static MapType | Map (Scalar *data, Index size) |
| static ConstMapType | Map (const Scalar *data, Index rows, Index cols) |
| static MapType | Map (Scalar *data, Index rows, Index cols) |
| static StridedConstMapType < Stride< Outer, Inner > >::type | Map (const Scalar *data, const Stride< Outer, Inner > &stride) |
| static StridedMapType< Stride < Outer, Inner > >::type | Map (Scalar *data, const Stride< Outer, Inner > &stride) |
| static StridedConstMapType < Stride< Outer, Inner > >::type | Map (const Scalar *data, Index size, const Stride< Outer, Inner > &stride) |
| static StridedMapType< Stride < Outer, Inner > >::type | Map (Scalar *data, Index size, const Stride< Outer, Inner > &stride) |
| static StridedConstMapType < Stride< Outer, Inner > >::type | Map (const Scalar *data, Index rows, Index cols, const Stride< Outer, Inner > &stride) |
| static StridedMapType< Stride < Outer, Inner > >::type | Map (Scalar *data, Index rows, Index cols, const Stride< Outer, Inner > &stride) |
| static ConstAlignedMapType | MapAligned (const Scalar *data) |
| static AlignedMapType | MapAligned (Scalar *data) |
| static ConstAlignedMapType | MapAligned (const Scalar *data, Index size) |
| static AlignedMapType | MapAligned (Scalar *data, Index size) |
| static ConstAlignedMapType | MapAligned (const Scalar *data, Index rows, Index cols) |
| static AlignedMapType | MapAligned (Scalar *data, Index rows, Index cols) |
| static StridedConstAlignedMapType < Stride< Outer, Inner > >::type | MapAligned (const Scalar *data, const Stride< Outer, Inner > &stride) |
| static StridedAlignedMapType < Stride< Outer, Inner > >::type | MapAligned (Scalar *data, const Stride< Outer, Inner > &stride) |
| static StridedConstAlignedMapType < Stride< Outer, Inner > >::type | MapAligned (const Scalar *data, Index size, const Stride< Outer, Inner > &stride) |
| static StridedAlignedMapType < Stride< Outer, Inner > >::type | MapAligned (Scalar *data, Index size, const Stride< Outer, Inner > &stride) |
| static StridedConstAlignedMapType < Stride< Outer, Inner > >::type | MapAligned (const Scalar *data, Index rows, Index cols, const Stride< Outer, Inner > &stride) |
| static StridedAlignedMapType < Stride< Outer, Inner > >::type | MapAligned (Scalar *data, Index rows, Index cols, const Stride< Outer, Inner > &stride) |
Protected Member Functions | |
| EIGEN_STRONG_INLINE void | _resize_to_match (const EigenBase< OtherDerived > &other) |
| EIGEN_STRONG_INLINE Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & | _set (const DenseBase< OtherDerived > &other) |
Copies the value of the expression other into *this with automatic resizing. | |
| EIGEN_STRONG_INLINE void | _set_selector (const OtherDerived &other, const internal::true_type &) |
| EIGEN_STRONG_INLINE void | _set_selector (const OtherDerived &other, const internal::false_type &) |
| EIGEN_STRONG_INLINE Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & | _set_noalias (const DenseBase< OtherDerived > &other) |
| EIGEN_STRONG_INLINE void | _init2 (Index rows, Index cols, typename internal::enable_if< Base::SizeAtCompileTime!=2, T0 >::type *=0) |
| EIGEN_STRONG_INLINE void | _init2 (const Scalar &x, const Scalar &y, typename internal::enable_if< Base::SizeAtCompileTime==2, T0 >::type *=0) |
| void | _swap (DenseBase< OtherDerived > const &other) |
Protected Attributes | |
| DenseStorage< Scalar, Base::MaxSizeAtCompileTime, Base::RowsAtCompileTime, Base::ColsAtCompileTime, Options > | m_storage |
Friends | |
| struct | internal::conservative_resize_like_impl |
| class | Eigen::Map |
| class | Eigen::Map< Derived, Unaligned > |
| class | Eigen::Map< const Derived, Unaligned > |
| class | Eigen::Map< Derived, Aligned > |
| class | Eigen::Map< const Derived, Aligned > |
| struct | internal::matrix_swap_impl |
typedef Eigen::Map<Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > , Aligned> Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::AlignedMapType [inherited] |
| typedef Eigen::Matrix<T,Eigen::Dynamic,1> mrpt::dynamicsize_vector< T >::Base |
Base class typedef.
Reimplemented from Eigen::Matrix< T, Eigen::Dynamic, 1 >.
Definition at line 95 of file base/include/mrpt/utils/types.h.
typedef const Eigen::Map<const Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > , Aligned> Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::ConstAlignedMapType [inherited] |
typedef const Eigen::Map<const Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > , Unaligned> Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::ConstMapType [inherited] |
typedef Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::DenseType [inherited] |
typedef internal::traits<Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Index Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Index [inherited] |
typedef Eigen::Map<Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > , Unaligned> Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::MapType [inherited] |
| typedef dynamicsize_vector<T> mrpt::dynamicsize_vector< T >::mrpt_autotype |
Definition at line 96 of file base/include/mrpt/utils/types.h.
typedef internal::packet_traits<Scalar>::type Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::PacketScalar [inherited] |
typedef Base::PlainObject Eigen::Matrix< T , _Rows, _Cols, _Options, _MaxRows, _MaxCols >::PlainObject [inherited] |
typedef NumTraits<Scalar>::Real Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::RealScalar [inherited] |
typedef internal::traits<Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Scalar Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Scalar [inherited] |
typedef internal::traits<Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::StorageKind Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::StorageKind [inherited] |
| mrpt::dynamicsize_vector< T >::dynamicsize_vector | ( | ) | [inline] |
Default constructor: empty vector.
Definition at line 100 of file base/include/mrpt/utils/types.h.
| mrpt::dynamicsize_vector< T >::dynamicsize_vector | ( | size_t | N | ) | [inline] |
Constructor, initializes to a given initial size.
Definition at line 102 of file base/include/mrpt/utils/types.h.
References Eigen::PlainObjectBase< Derived >::setZero().
| mrpt::dynamicsize_vector< T >::dynamicsize_vector | ( | size_t | N, |
| T | init_val | ||
| ) | [inline] |
Constructor, initializes to a given initial size, all elements to a given value.
Definition at line 104 of file base/include/mrpt/utils/types.h.
| mrpt::dynamicsize_vector< T >::dynamicsize_vector | ( | const std::vector< R > & | v | ) | [inline] |
Constructor, initializes from a std::vector<> of scalars.
Definition at line 107 of file base/include/mrpt/utils/types.h.
| EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::_init2 | ( | Index | rows, |
| Index | cols, | ||
| typename internal::enable_if< Base::SizeAtCompileTime!=2, T0 >::type * | = 0 |
||
| ) | [inline, protected, inherited] |
| EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::_init2 | ( | const Scalar & | x, |
| const Scalar & | y, | ||
| typename internal::enable_if< Base::SizeAtCompileTime==2, T0 >::type * | = 0 |
||
| ) | [inline, protected, inherited] |
| EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::_resize_to_match | ( | const EigenBase< OtherDerived > & | other | ) | [inline, protected, inherited] |
| EIGEN_STRONG_INLINE Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::_set | ( | const DenseBase< OtherDerived > & | other | ) | [inline, protected, inherited] |
Copies the value of the expression other into *this with automatic resizing.
*this might be resized to match the dimensions of other. If *this was a null matrix (not already initialized), it will be initialized.
Note that copying a row-vector into a vector (and conversely) is allowed. The resizing, if any, is then done in the appropriate way so that row-vectors remain row-vectors and vectors remain vectors.
| EIGEN_STRONG_INLINE Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::_set_noalias | ( | const DenseBase< OtherDerived > & | other | ) | [inline, protected, inherited] |
| EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::_set_selector | ( | const OtherDerived & | other, |
| const internal::true_type & | |||
| ) | [inline, protected, inherited] |
| EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::_set_selector | ( | const OtherDerived & | other, |
| const internal::false_type & | |||
| ) | [inline, protected, inherited] |
| void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::_swap | ( | DenseBase< OtherDerived > const & | other | ) | [inline, protected, inherited] |
| Base& Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::base | ( | ) | [inline, inherited] |
| const Base& Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::base | ( | ) | const [inline, inherited] |
| void mrpt::dynamicsize_vector< T >::clear | ( | void | ) | [inline] |
Reset the vector to a 0-length.
Definition at line 113 of file base/include/mrpt/utils/types.h.
| EIGEN_STRONG_INLINE const Scalar& Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::coeff | ( | Index | row, |
| Index | col | ||
| ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE const Scalar& Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::coeff | ( | Index | index | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE const Scalar& Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::coeffRef | ( | Index | row, |
| Index | col | ||
| ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE const Scalar& Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::coeffRef | ( | Index | index | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE Scalar& Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::coeffRef | ( | Index | row, |
| Index | col | ||
| ) | [inline, inherited] |
| EIGEN_STRONG_INLINE Scalar& Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::coeffRef | ( | Index | index | ) | [inline, inherited] |
| EIGEN_STRONG_INLINE Index Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::cols | ( | void | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::conservativeResize | ( | Index | size | ) | [inline, inherited] |
Resizes the vector to size while retaining old values.
. This method does not work for partially dynamic matrices when the static dimension is anything other than 1. For example it will not work with Matrix<double, 2, Dynamic>.
When values are appended, they will be uninitialized.
| EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::conservativeResize | ( | Index | rows, |
| Index | cols | ||
| ) | [inline, inherited] |
Resizes the matrix to rows x cols while leaving old values untouched.
The method is intended for matrices of dynamic size. If you only want to change the number of rows and/or of columns, you can use conservativeResize(NoChange_t, Index) or conservativeResize(Index, NoChange_t).
Matrices are resized relative to the top-left element. In case values need to be appended to the matrix they will be uninitialized.
| EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::conservativeResize | ( | Index | rows, |
| NoChange_t | |||
| ) | [inline, inherited] |
| EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::conservativeResize | ( | NoChange_t | , |
| Index | cols | ||
| ) | [inline, inherited] |
| EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::conservativeResizeLike | ( | const DenseBase< OtherDerived > & | other | ) | [inline, inherited] |
Resizes the matrix to rows x cols of other, while leaving old values untouched.
The method is intended for matrices of dynamic size. If you only want to change the number of rows and/or of columns, you can use conservativeResize(NoChange_t, Index) or conservativeResize(Index, NoChange_t).
Matrices are resized relative to the top-left element. In case values need to be appended to the matrix they will copied from other.
| EIGEN_STRONG_INLINE const Scalar* Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::data | ( | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE Scalar* Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::data | ( | ) | [inline, inherited] |
| Index Eigen::Matrix< T , _Rows, _Cols, _Options, _MaxRows, _MaxCols >::innerStride | ( | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::lazyAssign | ( | const DenseBase< OtherDerived > & | other | ) | [inline, inherited] |
| static ConstMapType Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Map | ( | const Scalar * | data | ) | [inline, static, inherited] |
| static ConstMapType Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Map | ( | const Scalar * | data, |
| Index | size | ||
| ) | [inline, static, inherited] |
| static MapType Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Map | ( | Scalar * | data | ) | [inline, static, inherited] |
| static MapType Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Map | ( | Scalar * | data, |
| Index | size | ||
| ) | [inline, static, inherited] |
| static ConstMapType Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Map | ( | const Scalar * | data, |
| Index | rows, | ||
| Index | cols | ||
| ) | [inline, static, inherited] |
| static MapType Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Map | ( | Scalar * | data, |
| Index | rows, | ||
| Index | cols | ||
| ) | [inline, static, inherited] |
| static StridedConstMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Map | ( | const Scalar * | data, |
| const Stride< Outer, Inner > & | stride | ||
| ) | [inline, static, inherited] |
| static StridedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Map | ( | Scalar * | data, |
| const Stride< Outer, Inner > & | stride | ||
| ) | [inline, static, inherited] |
| static StridedConstMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Map | ( | const Scalar * | data, |
| Index | size, | ||
| const Stride< Outer, Inner > & | stride | ||
| ) | [inline, static, inherited] |
| static StridedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Map | ( | Scalar * | data, |
| Index | size, | ||
| const Stride< Outer, Inner > & | stride | ||
| ) | [inline, static, inherited] |
| static ConstAlignedMapType Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::MapAligned | ( | const Scalar * | data, |
| Index | rows, | ||
| Index | cols | ||
| ) | [inline, static, inherited] |
| static ConstAlignedMapType Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::MapAligned | ( | const Scalar * | data | ) | [inline, static, inherited] |
| static AlignedMapType Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::MapAligned | ( | Scalar * | data | ) | [inline, static, inherited] |
| static ConstAlignedMapType Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::MapAligned | ( | const Scalar * | data, |
| Index | size | ||
| ) | [inline, static, inherited] |
| static AlignedMapType Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::MapAligned | ( | Scalar * | data, |
| Index | size | ||
| ) | [inline, static, inherited] |
| static AlignedMapType Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::MapAligned | ( | Scalar * | data, |
| Index | rows, | ||
| Index | cols | ||
| ) | [inline, static, inherited] |
| static StridedConstAlignedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::MapAligned | ( | const Scalar * | data, |
| const Stride< Outer, Inner > & | stride | ||
| ) | [inline, static, inherited] |
| static StridedAlignedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::MapAligned | ( | Scalar * | data, |
| const Stride< Outer, Inner > & | stride | ||
| ) | [inline, static, inherited] |
| static StridedConstAlignedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::MapAligned | ( | const Scalar * | data, |
| Index | size, | ||
| const Stride< Outer, Inner > & | stride | ||
| ) | [inline, static, inherited] |
| static StridedAlignedMapType<Stride<Outer, Inner> >::type Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::MapAligned | ( | Scalar * | data, |
| Index | size, | ||
| const Stride< Outer, Inner > & | stride | ||
| ) | [inline, static, inherited] |
| Index Eigen::Matrix< T , _Rows, _Cols, _Options, _MaxRows, _MaxCols >::outerStride | ( | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE PacketScalar Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::packet | ( | Index | row, |
| Index | col | ||
| ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE PacketScalar Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::packet | ( | Index | index | ) | const [inline, inherited] |
| void mrpt::dynamicsize_vector< T >::reserve | ( | size_t | dummy_size | ) | [inline] |
DOES NOTHING (it's here for backward compatibility)
Definition at line 115 of file base/include/mrpt/utils/types.h.
| void mrpt::dynamicsize_vector< T >::resize | ( | const size_t | N, |
| const T | default_val | ||
| ) | [inline] |
Overloaded resize method that mimics std::vector::resize(SIZE,DEFAULT_VALUE) instead of resize(nrows,ncols)
Definition at line 109 of file base/include/mrpt/utils/types.h.
Referenced by mrpt::math::TPose3DQuat::getAsVector(), mrpt::math::TPose3D::getAsVector(), mrpt::math::TPoint3D::getAsVector(), mrpt::math::TPose2D::getAsVector(), and mrpt::math::TPoint2D::getAsVector().
| void mrpt::dynamicsize_vector< T >::resize | ( | const size_t | N | ) | [inline] |
Normal resize of the vector (preserving old contents).
Definition at line 111 of file base/include/mrpt/utils/types.h.
| void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::resize | ( | NoChange_t | , |
| Index | cols | ||
| ) | [inline, inherited] |
| EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::resize | ( | Index | rows, |
| Index | cols | ||
| ) | [inline, inherited] |
Resizes *this to a rows x cols matrix.
This method is intended for dynamic-size matrices, although it is legal to call it on any matrix as long as fixed dimensions are left unchanged. If you only want to change the number of rows and/or of columns, you can use resize(NoChange_t, Index), resize(Index, NoChange_t).
If the current number of coefficients of *this exactly matches the product rows * cols, then no memory allocation is performed and the current values are left unchanged. In all other cases, including shrinking, the data is reallocated and all previous values are lost.
Example:
Output:
| void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::resize | ( | Index | rows, |
| NoChange_t | |||
| ) | [inline, inherited] |
| void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::resize | ( | Index | size | ) | [inline, inherited] |
Resizes *this to a vector of length size.
. This method does not work for partially dynamic matrices when the static dimension is anything other than 1. For example it will not work with Matrix<double, 2, Dynamic>.
Example:
Output:
| EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::resizeLike | ( | const EigenBase< OtherDerived > & | _other | ) | [inline, inherited] |
Resizes *this to have the same dimensions as other.
Takes care of doing all the checking that's needed.
Note that copying a row-vector into a vector (and conversely) is allowed. The resizing, if any, is then done in the appropriate way so that row-vectors remain row-vectors and vectors remain vectors.
| EIGEN_STRONG_INLINE Index Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::rows | ( | void | ) | const [inline, inherited] |
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::setConstant | ( | Index | rows, |
| Index | cols, | ||
| const Scalar & | value | ||
| ) | [inherited] |
Resizes to the given size, and sets all coefficients in this expression to the given value.
| rows | the new number of rows |
| cols | the new number of columns |
| value | the value to which all coefficients are set |
Example:
Output:
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::setConstant | ( | Index | size, |
| const Scalar & | value | ||
| ) | [inherited] |
Resizes to the given size, and sets all coefficients in this expression to the given value.
Example:
Output:
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::setOnes | ( | Index | rows, |
| Index | cols | ||
| ) | [inherited] |
Resizes to the given size, and sets all coefficients in this expression to one.
| rows | the new number of rows |
| cols | the new number of columns |
Example:
Output:
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::setOnes | ( | Index | size | ) | [inherited] |
Resizes to the given size, and sets all coefficients in this expression to one.
Example:
Output:
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::setRandom | ( | Index | rows, |
| Index | cols | ||
| ) | [inherited] |
Resizes to the given size, and sets all coefficients in this expression to random values.
| rows | the new number of rows |
| cols | the new number of columns |
Example:
Output:
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::setRandom | ( | Index | size | ) | [inherited] |
Resizes to the given size, and sets all coefficients in this expression to random values.
Example:
Output:
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::setZero | ( | Index | size | ) | [inherited] |
Resizes to the given size, and sets all coefficients in this expression to zero.
Example:
Output:
| Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > & Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::setZero | ( | Index | rows, |
| Index | cols | ||
| ) | [inherited] |
Resizes to the given size, and sets all coefficients in this expression to zero.
| rows | the new number of rows |
| cols | the new number of columns |
Example:
Output:
| void Eigen::Matrix< T , _Rows, _Cols, _Options, _MaxRows, _MaxCols >::swap | ( | MatrixBase< OtherDerived > const & | other | ) | [inline, inherited] |
| EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::writePacket | ( | Index | row, |
| Index | col, | ||
| const PacketScalar & | x | ||
| ) | [inline, inherited] |
| EIGEN_STRONG_INLINE void Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::writePacket | ( | Index | index, |
| const PacketScalar & | x | ||
| ) | [inline, inherited] |
friend class Eigen::Map [friend, inherited] |
friend class Eigen::Map< const Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > , Aligned > [friend, inherited] |
friend class Eigen::Map< const Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > , Unaligned > [friend, inherited] |
friend class Eigen::Map< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > , Aligned > [friend, inherited] |
friend class Eigen::Map< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > , Unaligned > [friend, inherited] |
friend struct internal::conservative_resize_like_impl [friend, inherited] |
DenseStorage<Scalar, Base::MaxSizeAtCompileTime, Base::RowsAtCompileTime, Base::ColsAtCompileTime, Options> Eigen::PlainObjectBase< Matrix< T, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::m_storage [protected, inherited] |
| Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 | Hosted on: |