Struct ElementTraits

template<class E>
struct ElementTraits

Traits of an element type.

Public Static Functions

template<class T>
static inline E from_complex(const std::complex<T> &value)

How to cast a complex type to the element type.

static inline double to_real(const E &element)

How to cast an element type to real.

static inline E conjugate(const E &element)

The complex conjugate.