Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

boost::numeric::ublas::complex_traits< T > Struct Template Reference

List of all members.

Public Types

typedef complex_traits< T > self_type
typedef T value_type
typedef const T & const_reference
typedef T & reference
typedef T::value_type real_type
typedef real_type precision_type

Static Public Member Functions

static BOOST_UBLAS_INLINE real_type real (const_reference t)
static BOOST_UBLAS_INLINE real_type imag (const_reference t)
static BOOST_UBLAS_INLINE
value_type 
conj (const_reference t)
static BOOST_UBLAS_INLINE real_type type_abs (const_reference t)
static BOOST_UBLAS_INLINE
value_type 
type_sqrt (const_reference t)
static BOOST_UBLAS_INLINE real_type norm_1 (const_reference t)
static BOOST_UBLAS_INLINE real_type norm_2 (const_reference t)
static BOOST_UBLAS_INLINE real_type norm_inf (const_reference t)
static BOOST_UBLAS_INLINE bool equals (const_reference t1, const_reference t2)

Static Public Attributes

static const unsigned plus_complexity = 2
static const unsigned multiplies_complexity = 6

template<class T>
struct boost::numeric::ublas::complex_traits< T >


Generated on Sun Jul 4 20:31:07 2010 for ublas by  doxygen 1.6.1