upgrade a type to allow multiplication with a complex type e.g. the int in "int * complex<double>" is upgraded to a double More...
#include <traits.hpp>
Public Types | |
typedef std::complex< T > | T1_result |
typedef T | T2_result |
Static Public Member Functions | |
static arma_inline const std::complex< T > & | apply (const std::complex< T > &x) |
static arma_inline const T | apply (const T2 x) |
upgrade a type to allow multiplication with a complex type e.g. the int in "int * complex<double>" is upgraded to a double
Definition at line 724 of file traits.hpp.
typedef std::complex<T> upgrade_val< std::complex< T >, T2 >::T1_result |
Definition at line 726 of file traits.hpp.
typedef T upgrade_val< std::complex< T >, T2 >::T2_result |
Definition at line 727 of file traits.hpp.
static arma_inline const std::complex<T>& upgrade_val< std::complex< T >, T2 >::apply | ( | const std::complex< T > & | x | ) | [inline, static] |
Definition at line 729 of file traits.hpp.
static arma_inline const T upgrade_val< std::complex< T >, T2 >::apply | ( | const T2 | x | ) | [inline, static] |
Definition at line 730 of file traits.hpp.