#include <deal.II/base/numbers.h>

Public Types | |
| using | real_type = number |
| using | double_type = std::complex<double> |
| using | real_type |
| using | double_type |
Static Public Member Functions | |
| static constexpr std::complex< number > | conjugate (const std::complex< number > &x) |
| static constexpr real_type | abs_square (const std::complex< number > &x) |
| static real_type | abs (const std::complex< number > &x) |
| static constexpr const number & | conjugate (const number &x) |
| static constexpr real_type | abs_square (const number &x) |
| static real_type | abs (const number &x) |
Static Public Attributes | |
| static constexpr bool | is_complex = true |
| static constexpr bool | is_complex |
Specialization of the general NumberTraits class that provides the relevant information if the underlying data type is std::complex<T>.
| using numbers::NumberTraits< std::complex< number > >::real_type = number |
| using numbers::NumberTraits< std::complex< number > >::double_type = std::complex<double> |
| using numbers::NumberTraits< number >::real_type |
| using numbers::NumberTraits< number >::double_type |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
staticconstexpr |
|
staticconstexpr |
Return the square of the absolute value of the given number. Since the general template is chosen for types not equal to std::complex, this function simply returns the square of the given number.
|
static |
|
staticconstexpr |
|
staticconstexpr |