|
Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
|
Numeric traits for multiprecision complex numbers (digit counts follow the thread precision). More...
#include <num_traits.hpp>
Public Types | |
| using | Real = real_mp |
| The real companion type. | |
| using | Complex = complex_mp |
| The complex companion type. | |
Static Public Member Functions | |
| static unsigned | NumDigits () |
| The number of significant digits (the current thread precision). | |
| static complex_mp | FromString (std::string const &s) |
| Parse a complex number from a single string. | |
| static complex_mp | FromString (std::string const &s, std::string const &t) |
| Build a complex number from real and imaginary string parts. | |
| static complex_mp | FromRational (mpq_rational const &n, unsigned precision) |
| Convert an exact rational to a multiprecision complex number at the given precision. | |
Numeric traits for multiprecision complex numbers (digit counts follow the thread precision).
| using bertini::NumTraits< complex_mp >::Complex = complex_mp |
The complex companion type.
| using bertini::NumTraits< complex_mp >::Real = real_mp |
The real companion type.
|
inlinestatic |
Convert an exact rational to a multiprecision complex number at the given precision.
|
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 (the current thread precision).