Chemical Data Processing Library C++ API - Version 1.1.1
Public Types | Static Public Member Functions | List of all members
CDPL::Math::ComplexTraits< T > Struct Template Reference

#include <TypeTraits.hpp>

+ Inheritance diagram for CDPL::Math::ComplexTraits< T >:

Public Types

typedef T ValueType
 
typedef T::value_type RealType
 
typedef const T & ConstReference
 
typedef ComplexTraits< T > SelfType
 

Static Public Member Functions

static RealType real (ConstReference t)
 
static RealType imag (ConstReference t)
 
static ValueType conj (ConstReference t)
 
static RealType abs (ConstReference t)
 
static ValueType sqrt (ConstReference t)
 
static RealType norm1 (ConstReference t)
 
static RealType norm2 (ConstReference t)
 
static RealType normInf (ConstReference t)
 

Member Typedef Documentation

◆ ValueType

template<typename T >
typedef T CDPL::Math::ComplexTraits< T >::ValueType

◆ RealType

template<typename T >
typedef T::value_type CDPL::Math::ComplexTraits< T >::RealType

◆ ConstReference

template<typename T >
typedef const T& CDPL::Math::ComplexTraits< T >::ConstReference

◆ SelfType

template<typename T >
typedef ComplexTraits<T> CDPL::Math::ComplexTraits< T >::SelfType

Member Function Documentation

◆ real()

template<typename T >
static RealType CDPL::Math::ComplexTraits< T >::real ( ConstReference  t)
inlinestatic

◆ imag()

template<typename T >
static RealType CDPL::Math::ComplexTraits< T >::imag ( ConstReference  t)
inlinestatic

◆ conj()

template<typename T >
static ValueType CDPL::Math::ComplexTraits< T >::conj ( ConstReference  t)
inlinestatic

◆ abs()

template<typename T >
static RealType CDPL::Math::ComplexTraits< T >::abs ( ConstReference  t)
inlinestatic

◆ sqrt()

template<typename T >
static ValueType CDPL::Math::ComplexTraits< T >::sqrt ( ConstReference  t)
inlinestatic

◆ norm1()

template<typename T >
static RealType CDPL::Math::ComplexTraits< T >::norm1 ( ConstReference  t)
inlinestatic

◆ norm2()

template<typename T >
static RealType CDPL::Math::ComplexTraits< T >::norm2 ( ConstReference  t)
inlinestatic

◆ normInf()

template<typename T >
static RealType CDPL::Math::ComplexTraits< T >::normInf ( ConstReference  t)
inlinestatic

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