Tiny Vector Matrix library using Expression Templates | Sourceforge Project Page |
#include <NumericTraits.h>
Public Types | |
enum | { is_complex = true } |
enum | { ops_plus = 2, ops_muls = 6 } |
Complexity on operations. More... | |
typedef unsigned int | base_type |
typedef std::complex< unsigned int > | value_type |
typedef std::complex< unsigned long > | sum_type |
typedef std::complex< int > | diff_type |
typedef std::complex< float > | float_type |
typedef std::complex< int > | signed_type |
typedef NumericTraits< value_type > | traits_type |
typedef const value_type & | argument_type |
Static Public Member Functions | |
static base_type | real (argument_type z) |
static base_type | imag (argument_type z) |
static base_type | abs (argument_type z) |
static value_type | sqrt (argument_type z) |
static base_type | norm_1 (argument_type z) |
static base_type | norm_2 (argument_type z) |
static base_type | norm_inf (argument_type z) |
static bool | equals (argument_type lhs, argument_type rhs) |
typedef unsigned int tvmet::NumericTraits< std::complex< unsigned int > >::base_type |
typedef std::complex<unsigned int> tvmet::NumericTraits< std::complex< unsigned int > >::value_type |
typedef std::complex<unsigned long> tvmet::NumericTraits< std::complex< unsigned int > >::sum_type |
typedef std::complex<int> tvmet::NumericTraits< std::complex< unsigned int > >::diff_type |
typedef std::complex<float> tvmet::NumericTraits< std::complex< unsigned int > >::float_type |
typedef std::complex<int> tvmet::NumericTraits< std::complex< unsigned int > >::signed_type |
typedef NumericTraits<value_type> tvmet::NumericTraits< std::complex< unsigned int > >::traits_type |
typedef const value_type& tvmet::NumericTraits< std::complex< unsigned int > >::argument_type |
anonymous enum |
static base_type tvmet::NumericTraits< std::complex< unsigned int > >::real | ( | argument_type | z | ) | [inline, static] |
static base_type tvmet::NumericTraits< std::complex< unsigned int > >::imag | ( | argument_type | z | ) | [inline, static] |
static base_type tvmet::NumericTraits< std::complex< unsigned int > >::abs | ( | argument_type | z | ) | [inline, static] |
static value_type tvmet::NumericTraits< std::complex< unsigned int > >::sqrt | ( | argument_type | z | ) | [inline, static] |
static base_type tvmet::NumericTraits< std::complex< unsigned int > >::norm_1 | ( | argument_type | z | ) | [inline, static] |
static base_type tvmet::NumericTraits< std::complex< unsigned int > >::norm_2 | ( | argument_type | z | ) | [inline, static] |
static base_type tvmet::NumericTraits< std::complex< unsigned int > >::norm_inf | ( | argument_type | z | ) | [inline, static] |
static bool tvmet::NumericTraits< std::complex< unsigned int > >::equals | ( | argument_type | lhs, | |
argument_type | rhs | |||
) | [inline, static] |
Author: |