#include <upgrade_val.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 promote_type< T1, T2 >::result | apply (const T1 x) |
static arma_inline promote_type< T1, T2 >::result | apply (const T2 x) |
upgrade_val is used to ensure an operation such as multiplication is possible between two types. values are upgraded only where necessary.
Definition at line 23 of file upgrade_val.hpp.
typedef promote_type<T1,T2>::result upgrade_val< T1, T2 >::T1_result |
Definition at line 25 of file upgrade_val.hpp.
typedef promote_type<T1,T2>::result upgrade_val< T1, T2 >::T2_result |
Definition at line 26 of file upgrade_val.hpp.
|
inlinestatic |
Definition at line 31 of file upgrade_val.hpp.
|
inlinestatic |
Definition at line 40 of file upgrade_val.hpp.