Fn_trunc_exp

Functions

template<typename eT >
static arma_float_only< eT >
::result 
trunc_exp (const eT x)
template<typename T >
static arma_inline
std::complex< T > 
trunc_exp (const std::complex< T > &x)
template<typename T1 >
arma_inline const eOp< T1,
eop_trunc_exp
trunc_exp (const Base< typename T1::elem_type, T1 > &A)
template<typename T1 >
arma_inline const eOpCube< T1,
eop_cube_trunc_exp
trunc_exp (const BaseCube< typename T1::elem_type, T1 > &A)

Function Documentation

template<typename eT >
static arma_integral_only< eT >::result trunc_exp ( const eT  x  )  [inline, static]

Definition at line 45 of file fn_trunc_exp.hpp.

Referenced by eop_cube_core< eop_cube_type >::process(), and eop_core< eop_type >::process().

00046   {
00047   return eT( trunc_exp( double(x) ) );
00048   }

template<typename T >
static arma_inline std::complex<T> trunc_exp ( const std::complex< T > &  x  )  [inline, static]

Definition at line 56 of file fn_trunc_exp.hpp.

References exp().

00057   {
00058   return std::exp(x);
00059   }

template<typename T1 >
arma_inline const eOp<T1, eop_trunc_exp> trunc_exp ( const Base< typename T1::elem_type, T1 > &  A  )  [inline]

Definition at line 66 of file fn_trunc_exp.hpp.

References Base< elem_type, derived >::get_ref().

00067   {
00068   arma_extra_debug_sigprint();
00069   
00070   return eOp<T1, eop_trunc_exp>(A.get_ref());
00071   }

template<typename T1 >
arma_inline const eOpCube<T1, eop_cube_trunc_exp> trunc_exp ( const BaseCube< typename T1::elem_type, T1 > &  A  )  [inline]

Definition at line 78 of file fn_trunc_exp.hpp.

References BaseCube< elem_type, derived >::get_ref().

00079   {
00080   arma_extra_debug_sigprint();
00081   
00082   return eOpCube<T1, eop_cube_trunc_exp>(A.get_ref());
00083   }