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::scalar_traits< T > Struct Template Reference

#include <traits.hpp>

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

Public Types

typedef scalar_traits< Tself_type
 
typedef T value_type
 
typedef const Tconst_reference
 
typedef Treference
 
typedef T 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)
 
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 = 1
 
static const unsigned multiplies_complexity = 1
 

Member Typedef Documentation

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

Member Function Documentation

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

Member Data Documentation

template<class T>
const unsigned boost::numeric::ublas::scalar_traits< T >::multiplies_complexity = 1
static
template<class T>
const unsigned boost::numeric::ublas::scalar_traits< T >::plus_complexity = 1
static

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