#include <traits.hpp>
Public Types | |
typedef promote_type< T1, T2 > ::result | T1_result |
typedef promote_type< T1, T2 > ::result | T2_result |
Static Public Member Functions | |
static arma_inline const promote_type< T1, T2 >::result | apply (const T1 x) |
static arma_inline const promote_type< T1, T2 >::result | apply (const T2 x) |
Definition at line 628 of file traits.hpp.
typedef promote_type<T1,T2>::result upgrade_val< T1, T2 >::T1_result |
Definition at line 630 of file traits.hpp.
typedef promote_type<T1,T2>::result upgrade_val< T1, T2 >::T2_result |
Definition at line 631 of file traits.hpp.
static arma_inline const promote_type<T1,T2>::result upgrade_val< T1, T2 >::apply | ( | const T1 | x | ) | [inline, static] |
Definition at line 636 of file traits.hpp.
00637 { 00638 typedef typename promote_type<T1,T2>::result out_type; 00639 return out_type(x); 00640 }
static arma_inline const promote_type<T1,T2>::result upgrade_val< T1, T2 >::apply | ( | const T2 | x | ) | [inline, static] |
Definition at line 645 of file traits.hpp.
00646 { 00647 typedef typename promote_type<T1,T2>::result out_type; 00648 return out_type(x); 00649 }