SourceForge Logo Tiny Vector Matrix library using Expression Templates Sourceforge Project Page

tvmet::NumericTraits< std::complex< double > > Struct Template Reference

#include <NumericTraits.h>

List of all members.

template<>
struct tvmet::NumericTraits< std::complex< double > >


Public Types

enum  { is_complex = true }
enum  { ops_plus = 2, ops_muls = 6 }
 Complexity on operations. More...
typedef double base_type
typedef std::complex< double > value_type
typedef std::complex< long
double > 
sum_type
typedef std::complex< double > diff_type
typedef std::complex< double > float_type
typedef std::complex< double > signed_type
typedef NumericTraits< value_typetraits_type
typedef const value_typeargument_type

Static Public Member Functions

static base_type real (argument_type z)
static base_type imag (argument_type z)
static value_type conj (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)

Member Typedef Documentation

typedef double tvmet::NumericTraits< std::complex< double > >::base_type

typedef std::complex<double> tvmet::NumericTraits< std::complex< double > >::value_type

typedef std::complex<long double> tvmet::NumericTraits< std::complex< double > >::sum_type

typedef std::complex<double> tvmet::NumericTraits< std::complex< double > >::diff_type

typedef std::complex<double> tvmet::NumericTraits< std::complex< double > >::float_type

typedef std::complex<double> tvmet::NumericTraits< std::complex< double > >::signed_type

typedef NumericTraits<value_type> tvmet::NumericTraits< std::complex< double > >::traits_type

typedef const value_type& tvmet::NumericTraits< std::complex< double > >::argument_type


Member Enumeration Documentation

anonymous enum

Enumerator:
is_complex 

anonymous enum

Complexity on operations.

Enumerator:
ops_plus  Complexity on plus/minus ops.

ops_muls  Complexity on multiplications.


Member Function Documentation

static base_type tvmet::NumericTraits< std::complex< double > >::real ( argument_type  z  )  [inline, static]

static base_type tvmet::NumericTraits< std::complex< double > >::imag ( argument_type  z  )  [inline, static]

static value_type tvmet::NumericTraits< std::complex< double > >::conj ( argument_type  z  )  [inline, static]

static base_type tvmet::NumericTraits< std::complex< double > >::abs ( argument_type  z  )  [inline, static]

static value_type tvmet::NumericTraits< std::complex< double > >::sqrt ( argument_type  z  )  [inline, static]

static base_type tvmet::NumericTraits< std::complex< double > >::norm_1 ( argument_type  z  )  [inline, static]

static base_type tvmet::NumericTraits< std::complex< double > >::norm_2 ( argument_type  z  )  [inline, static]

static base_type tvmet::NumericTraits< std::complex< double > >::norm_inf ( argument_type  z  )  [inline, static]

static bool tvmet::NumericTraits< std::complex< double > >::equals ( argument_type  lhs,
argument_type  rhs 
) [inline, static]


Author: