Static Public Member Functions

conv_to< out_eT > Class Template Reference
[Fn_conv_to]

conversion from Armadillo Base and BaseCube objects to scalars //! (kept only for compatibility with old code; use as_scalar() instead for Base objects like Mat) More...

#include <fn_conv_to.hpp>

List of all members.

Static Public Member Functions

template<typename in_eT , typename T1 >
static out_eT from (const Base< in_eT, T1 > &in, const typename arma_not_cx< in_eT >::result *junk=0)
template<typename in_eT , typename T1 >
static out_eT from (const Base< in_eT, T1 > &in, const typename arma_cx_only< in_eT >::result *junk=0)
template<typename in_eT , typename T1 >
static out_eT from (const BaseCube< in_eT, T1 > &in, const typename arma_not_cx< in_eT >::result *junk=0)
template<typename in_eT , typename T1 >
static out_eT from (const BaseCube< in_eT, T1 > &in, const typename arma_cx_only< in_eT >::result *junk=0)

Detailed Description

template<typename out_eT>
class conv_to< out_eT >

conversion from Armadillo Base and BaseCube objects to scalars //! (kept only for compatibility with old code; use as_scalar() instead for Base objects like Mat)

Definition at line 25 of file fn_conv_to.hpp.