KASKADE 7 development version
|
Helper class for working with (real or complex) scalar field types. More...
#include <scalar.hh>
Helper class for working with (real or complex) scalar field types.
Public Types | |
typedef Scalar | Real |
The real type on which the scalar field is based. More... | |
Static Public Member Functions | |
static Real | real (Scalar const &s) |
Conversion to the real type, ignoring the imaginary part if nonzero. More... | |
Static Public Attributes | |
static bool const | isBLAStype = std::is_same_v<Scalar,float> || std::is_same_v<Scalar,double> |
Whether the scalar is BLAS/LAPACK compatible or not. More... | |
typedef Scalar Kaskade::ScalarTraits< Scalar >::Real |
|
inlinestatic |
|
static |