Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::numeric::ublas::complex_traits< T > Struct Template Reference

#include <traits.hpp>

Inheritance diagram for boost::numeric::ublas::complex_traits< T >:

Public Types

typedef complex_traits< Tself_type
 
typedef T value_type
 
typedef const Tconst_reference
 
typedef Treference
 
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
 

Member Typedef Documentation

template<class T>
typedef const T& boost::numeric::ublas::complex_traits< T >::const_reference
template<class T>
typedef T::value_type boost::numeric::ublas::complex_traits< T >::real_type
template<class T>
typedef T& boost::numeric::ublas::complex_traits< T >::reference
template<class T>
typedef T boost::numeric::ublas::complex_traits< T >::value_type

Member Function Documentation

template<class T>
static BOOST_UBLAS_INLINE value_type boost::numeric::ublas::complex_traits< T >::conj ( const_reference  t)
inlinestatic
template<class T>
static BOOST_UBLAS_INLINE bool boost::numeric::ublas::complex_traits< T >::equals ( const_reference  t1,
const_reference  t2 
)
inlinestatic
template<class T>
static BOOST_UBLAS_INLINE real_type boost::numeric::ublas::complex_traits< T >::imag ( const_reference  t)
inlinestatic
template<class T>
static BOOST_UBLAS_INLINE real_type boost::numeric::ublas::complex_traits< T >::norm_1 ( const_reference  t)
inlinestatic
template<class T>
static BOOST_UBLAS_INLINE real_type boost::numeric::ublas::complex_traits< T >::norm_2 ( const_reference  t)
inlinestatic
template<class T>
static BOOST_UBLAS_INLINE real_type boost::numeric::ublas::complex_traits< T >::norm_inf ( const_reference  t)
inlinestatic
template<class T>
static BOOST_UBLAS_INLINE real_type boost::numeric::ublas::complex_traits< T >::real ( const_reference  t)
inlinestatic
template<class T>
static BOOST_UBLAS_INLINE value_type boost::numeric::ublas::complex_traits< T >::type_sqrt ( const_reference  t)
inlinestatic

Member Data Documentation

template<class T>
const unsigned boost::numeric::ublas::complex_traits< T >::multiplies_complexity = 6
static
template<class T>
const unsigned boost::numeric::ublas::complex_traits< T >::plus_complexity = 2
static

The documentation for this struct was generated from the following file: