Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Friends
mrpt::math::CArrayNumeric Class Reference

Detailed Description

CArrayNumeric is an array for numeric types supporting several mathematical operations (actually, just a wrapper on Eigen::Matrix<T,N,1>)

See also:
CArrayFloat, CArrayDouble, CArray

#include <mrpt/math/CArray.h>

Inheritance diagram for mrpt::math::CArrayNumeric:
Inheritance graph
[legend]

List of all members.

Public Types

typedef Eigen::Matrix< T, N, 1 > Base
 Base class typedef.
enum  
enum  
typedef Base::PlainObject PlainObject

Public Member Functions

 CArrayNumeric ()
 Default constructor.
 CArrayNumeric (const T *ptr)
 Constructor from initial values ptr[0]-ptr[N-1].
template<class ARRAYLIKE >
 CArrayNumeric (const ARRAYLIKE &obj)
 Initialization from a vector-like source, that is, anything implementing operator[].
template<typename OtherDerived >
CArrayNumeric< T, N > & operator= (const Eigen::MatrixBase< OtherDerived > &other)
void swap (MatrixBase< OtherDerived > const &other)
Index innerStride () const
Index outerStride () const

Friends

struct internal::conservative_resize_like_impl

Member Typedef Documentation

Base class typedef.

See also:
PlainObjectBase

Reimplemented from Eigen::Matrix< T, N, 1 >.

Reimplemented in mrpt::math::CArrayUInt, mrpt::math::CArrayInt, mrpt::math::CArrayDouble, mrpt::math::CArrayFloat, and mrpt::math::CQuaternion.

Definition at line 327 of file CArray.h.

Definition at line 155 of file Core.


Member Enumeration Documentation

anonymous enum [inherited]

Definition at line 151 of file Core.

anonymous enum [inherited]

Definition at line 157 of file Core.


Constructor & Destructor Documentation

mrpt::math::CArrayNumeric::CArrayNumeric ( ) [inline]

Default constructor.

Definition at line 329 of file CArray.h.

mrpt::math::CArrayNumeric::CArrayNumeric ( const T *  ptr) [inline]

Constructor from initial values ptr[0]-ptr[N-1].

Definition at line 331 of file CArray.h.

template<class ARRAYLIKE >
mrpt::math::CArrayNumeric::CArrayNumeric ( const ARRAYLIKE &  obj) [inline, explicit]

Initialization from a vector-like source, that is, anything implementing operator[].

Definition at line 337 of file CArray.h.


Member Function Documentation

Index Eigen::Matrix::innerStride ( ) const [inline, inherited]

Definition at line 339 of file Core.

template<typename OtherDerived >
CArrayNumeric<T,N>& mrpt::math::CArrayNumeric::operator= ( const Eigen::MatrixBase< OtherDerived > &  other) [inline]

Reimplemented from Eigen::Matrix< T, N, 1 >.

Definition at line 340 of file CArray.h.

Index Eigen::Matrix::outerStride ( ) const [inline, inherited]

Definition at line 340 of file Core.

void Eigen::Matrix::swap ( MatrixBase< OtherDerived > const &  other) [inline, inherited]

Definition at line 336 of file Core.


Friends And Related Function Documentation

friend struct internal::conservative_resize_like_impl [friend, inherited]

Definition at line 363 of file Core.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011