|
Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
|
Numeric traits for double-precision complex numbers. More...
#include <num_traits.hpp>
Public Types | |
| using | Real = double |
| The real companion type. | |
| using | Complex = complex_dbl |
| The complex companion type. | |
Static Public Member Functions | |
| static unsigned | NumDigits () |
| The number of significant digits (16). | |
| static unsigned | NumFuzzyDigits () |
| The number of digits to trust for fuzzy comparisons. | |
| static complex_dbl | FromString (std::string const &s) |
| Parse a complex number from a single string. | |
| static complex_dbl | FromString (std::string const &s, std::string const &t) |
| Build a complex number from real and imaginary string parts. | |
| static complex_dbl | FromRational (mpq_rational const &n, unsigned) |
| Convert an exact rational to a complex double (precision ignored). | |
Numeric traits for double-precision complex numbers.
| using bertini::NumTraits< complex_dbl >::Complex = complex_dbl |
The complex companion type.
| using bertini::NumTraits< complex_dbl >::Real = double |
The real companion type.
|
inlinestatic |
Convert an exact rational to a complex double (precision ignored).
|
inlinestatic |
Parse a complex number from a single string.
|
inlinestatic |
Build a complex number from real and imaginary string parts.
|
inlinestatic |
The number of significant digits (16).
|
inlinestatic |
The number of digits to trust for fuzzy comparisons.