Main MRPT website > C++ reference for MRPT 1.5.7
List of all members | Public Types | Public Member Functions
mrpt::math::CArrayFloat< N > Class Template Reference

Detailed Description

template<std::size_t N>
class mrpt::math::CArrayFloat< N >

A partial specialization of CArrayNumeric for float numbers.

See also
CArrayNumeric, CArray

Definition at line 54 of file CArrayNumeric.h.

#include <mrpt/math/CArrayNumeric.h>

Inheritance diagram for mrpt::math::CArrayFloat< N >:
Inheritance graph

Public Types

typedef CArrayNumeric< float, N > Base
 
typedef CArrayFloat< N > mrpt_autotype
 
typedef float value_type
 

Public Member Functions

 CArrayFloat ()
 Default constructor. More...
 
 CArrayFloat (const float *ptr)
 Constructor from initial values ptr[0]-ptr[N-1]. More...
 
template<class ARRAYLIKE >
 CArrayFloat (const ARRAYLIKE &obj)
 Initialization from a vector-like source, that is, anything implementing operator[]. More...
 

Member Typedef Documentation

◆ Base

template<std::size_t N>
typedef CArrayNumeric<float,N> mrpt::math::CArrayFloat< N >::Base

Definition at line 57 of file CArrayNumeric.h.

◆ mrpt_autotype

template<std::size_t N>
typedef CArrayFloat<N> mrpt::math::CArrayFloat< N >::mrpt_autotype

Definition at line 58 of file CArrayNumeric.h.

◆ value_type

typedef float mrpt::math::CArrayNumeric< float , N >::value_type
inherited

Definition at line 28 of file CArrayNumeric.h.

Constructor & Destructor Documentation

◆ CArrayFloat() [1/3]

template<std::size_t N>
mrpt::math::CArrayFloat< N >::CArrayFloat ( )
inline

Default constructor.

Definition at line 60 of file CArrayNumeric.h.

◆ CArrayFloat() [2/3]

template<std::size_t N>
mrpt::math::CArrayFloat< N >::CArrayFloat ( const float *  ptr)
inline

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

Definition at line 61 of file CArrayNumeric.h.

◆ CArrayFloat() [3/3]

template<std::size_t N>
template<class ARRAYLIKE >
mrpt::math::CArrayFloat< N >::CArrayFloat ( const ARRAYLIKE &  obj)
inlineexplicit

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

Definition at line 67 of file CArrayNumeric.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 8277875f6 Mon Jun 11 02:47:32 2018 +0200 at lun oct 28 01:50:49 CET 2019