|
Bertini 2 - C++ Core
Software for Numerical Algebraic Geometry
|
Provides bertini extensions to the double and complex<double> types. More...
#include <random>#include <complex>Go to the source code of this file.
Functions | |
| bool | bertini::isnan (std::complex< double > const &z) |
| std::complex< double > | bertini::operator* (unsigned i, std::complex< double > z) |
| Overload * for unsigned * complex<double> | |
| dbl | bertini::pow (const dbl &z, int power) |
| double | bertini::RandReal () |
| Gets you a random real number between -1 and 1, fwiw. | |
Provides bertini extensions to the double and complex<double> types.
|
inline |
an overload of isnan, for std::complex<double>
|
inline |
Overload * for unsigned * complex<double>
|
inline |
Compute +,- integral powers of a std::complex<double> number.
This function recursively calls itself if the power is negative, by computing the power on the inverse.
|
inline |
Gets you a random real number between -1 and 1, fwiw.