Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions
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.

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)

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.


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

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.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Sun Oct 16 12:16:33 UTC 2011