#include <fn_conv_to.hpp>
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) |
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 22 of file fn_conv_to.hpp.