Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions

mrpt::math::CArrayNumeric< T, N > Class Template Reference


Detailed Description

template<typename T, std::size_t N>
class mrpt::math::CArrayNumeric< T, N >

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

Definition at line 323 of file CArray.h.

#include <mrpt/math/CArray.h>

Inheritance diagram for mrpt::math::CArrayNumeric< T, N >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef Eigen::Matrix< T, N, 1 > Base

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

template<typename T, std::size_t N>
typedef Eigen::Matrix<T,N,1> mrpt::math::CArrayNumeric< T, N >::Base

Constructor & Destructor Documentation

template<typename T, std::size_t N>
mrpt::math::CArrayNumeric< T, N >::CArrayNumeric ( ) [inline]

Default constructor.

Definition at line 328 of file CArray.h.

template<typename T, std::size_t N>
mrpt::math::CArrayNumeric< T, N >::CArrayNumeric ( const T *  ptr) [inline]

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

Definition at line 330 of file CArray.h.

template<typename T, std::size_t N>
template<class ARRAYLIKE >
mrpt::math::CArrayNumeric< T, N >::CArrayNumeric ( const ARRAYLIKE &  obj) [inline, explicit]

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

Definition at line 336 of file CArray.h.


Member Function Documentation

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

Definition at line 339 of file CArray.h.

Referenced by mrpt::math::CArrayNumeric< T, 4 >::operator=().




Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN:exported at Tue Jan 25 21:56:31 UTC 2011