![]() |
Go to the source code of this file.
Data Structures | |
| class | gmp_float |
| class | gmp_complex |
| gmp_complex numbers based on More... | |
Macros | |
| #define | ZTOF 1 |
| #define | QTOF 2 |
| #define | RTOF 3 |
| #define | CTOF 4 |
| #define CTOF 4 |
Definition at line 21 of file mpr_complex.h.
| #define QTOF 2 |
Definition at line 19 of file mpr_complex.h.
| #define RTOF 3 |
Definition at line 20 of file mpr_complex.h.
| #define ZTOF 1 |
Definition at line 18 of file mpr_complex.h.
Definition at line 323 of file mpr_complex.cc.
|
inline |
Definition at line 305 of file mpr_complex.h.
| bool complexNearZero | ( | gmp_complex * | c, |
| int | digits | ||
| ) |
Definition at line 778 of file mpr_complex.cc.
| char* complexToStr | ( | gmp_complex & | c, |
| const unsigned int | oprec, | ||
| const coeffs | src | ||
| ) |
Definition at line 717 of file mpr_complex.cc.
Definition at line 340 of file mpr_complex.cc.
Definition at line 359 of file mpr_complex.cc.
Definition at line 591 of file mpr_complex.cc.
Definition at line 350 of file mpr_complex.cc.
Definition at line 345 of file mpr_complex.cc.
Definition at line 364 of file mpr_complex.cc.
Definition at line 440 of file mpr_complex.cc.
|
inline |
Definition at line 312 of file mpr_complex.h.
Definition at line 374 of file mpr_complex.cc.
|
inline |
Definition at line 255 of file mpr_complex.h.
|
inline |
Definition at line 247 of file mpr_complex.h.
|
inline |
Definition at line 251 of file mpr_complex.h.
|
inline |
Definition at line 259 of file mpr_complex.h.
|
inline |
Definition at line 273 of file mpr_complex.h.
|
inline |
Definition at line 281 of file mpr_complex.h.
|
inline |
Definition at line 265 of file mpr_complex.h.
|
inline |
Definition at line 269 of file mpr_complex.h.
|
inline |
Definition at line 277 of file mpr_complex.h.
| void setGMPFloatDigits | ( | size_t | digits, |
| size_t | rest | ||
| ) |
Set size of mantissa digits - the number of output digits (basis 10) the size of mantissa consists of two parts: the "output" part a and the "rest" part b.
According to the GMP-precision digits is recomputed to bits (basis 2). Two numbers a, b are equal if | a - b | < | a | * 0.1^digits . In this case we have a - b = 0 . The epsilon e is e=0.1^(digits+rest) with 1+e != 1, but 1+0.1*e = 1.
Definition at line 62 of file mpr_complex.cc.
Definition at line 335 of file mpr_complex.cc.
Definition at line 329 of file mpr_complex.cc.
| gmp_complex sqrt | ( | const gmp_complex & | x | ) |
Definition at line 689 of file mpr_complex.cc.