![]() |
My Project
|
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.
|
inline |
Definition at line 307 of file mpr_complex.h.
Definition at line 313 of file mpr_complex.cc.
| bool complexNearZero | ( | gmp_complex * | c, |
| int | digits ) |
Definition at line 754 of file mpr_complex.cc.
| char * complexToStr | ( | gmp_complex & | c, |
| const unsigned int | oprec, | ||
| const coeffs | src ) |
Definition at line 693 of file mpr_complex.cc.
Definition at line 330 of file mpr_complex.cc.
Definition at line 349 of file mpr_complex.cc.
Definition at line 567 of file mpr_complex.cc.
Definition at line 340 of file mpr_complex.cc.
Definition at line 335 of file mpr_complex.cc.
Definition at line 354 of file mpr_complex.cc.
| gmp_float numberFieldToFloat | ( | number | num, |
| int | src ) |
Definition at line 430 of file mpr_complex.cc.
|
inline |
Definition at line 314 of file mpr_complex.h.
Definition at line 364 of file mpr_complex.cc.
|
inline |
Definition at line 257 of file mpr_complex.h.
|
inline |
Definition at line 249 of file mpr_complex.h.
|
inline |
Definition at line 253 of file mpr_complex.h.
|
inline |
Definition at line 261 of file mpr_complex.h.
|
inline |
Definition at line 275 of file mpr_complex.h.
|
inline |
Definition at line 283 of file mpr_complex.h.
|
inline |
|
inline |
Definition at line 271 of file mpr_complex.h.
|
inline |
Definition at line 279 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 60 of file mpr_complex.cc.
Definition at line 325 of file mpr_complex.cc.
| gmp_complex sqrt | ( | const gmp_complex & | x | ) |
Definition at line 665 of file mpr_complex.cc.