Public Types | |
typedef complex | cmptType |
Component type. More... | |
typedef scalar | magType |
Magnitude type. More... | |
typedef label | labelType |
Equivalent type of labels used for valid component indexing. More... | |
Public Member Functions | |
pTraits (const complex &val) | |
Copy construct from primitive. More... | |
pTraits (Istream &is) | |
Read construct from Istream. More... | |
operator complex () const | |
Access to the value. More... | |
operator complex & () | |
Access to the value. More... | |
Static Public Attributes | |
static constexpr direction | dim = 3 |
Dimensionality of space. More... | |
static constexpr direction | rank = 0 |
Rank of complex is 0. More... | |
static constexpr direction | nComponents = 2 |
Number of components in complex is 2. More... | |
static const char *const | typeName |
static const char *const | componentNames [] |
static const complex | zero |
complex (0,0) More... | |
static const complex | one |
complex (1,0) More... | |
static const complex | min |
complex (-VGREAT,-VGREAT) More... | |
static const complex | max |
complex (VGREAT,VGREAT) More... | |
static const complex | rootMin |
complex (-ROOTVGREAT, -ROOTVGREAT) More... | |
static const complex | rootMax |
complex (ROOTVGREAT, ROOTVGREAT) More... | |
typedef label labelType |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
static |