clipper
|
Wraps a mpfr_t object of the multiple-precision floating-pointer number library mpfr into a Numeric object and provides all necessary operators and functions for further calculations. More...
Public Member Functions | |
MpfrFloat () | |
MpfrFloat (const double &d) | |
MpfrFloat (const MpfrFloat &d) | |
copy constructor | |
MpfrFloat & | operator= (const MpfrFloat &d) |
~MpfrFloat () | |
const mpfr_t & | get () const |
mpfr_t & | get () |
std::string | toString () const |
MpfrFloat | operator- () const |
MpfrFloat | operator+ (const MpfrFloat &o) const |
MpfrFloat | operator- (const MpfrFloat &o) const |
MpfrFloat | operator* (const MpfrFloat &o) const |
MpfrFloat | operator/ (const MpfrFloat &o) const |
MpfrFloat & | operator+= (const MpfrFloat &o) |
MpfrFloat & | operator-= (const MpfrFloat &o) |
MpfrFloat & | operator*= (const MpfrFloat &o) |
MpfrFloat & | operator/= (const MpfrFloat &o) |
bool | operator== (const MpfrFloat &o) const |
bool | operator!= (const MpfrFloat &o) const |
bool | operator< (const MpfrFloat &o) const |
bool | operator> (const MpfrFloat &o) const |
bool | operator<= (const MpfrFloat &o) const |
bool | operator>= (const MpfrFloat &o) const |
Static Public Member Functions | |
static std::string | getName () |
static MpfrFloat | MINUS_INFINITY () |
static MpfrFloat | binomial (unsigned int n, unsigned int k) |
Static Public Attributes | |
static const unsigned int | IterationScale = 1 |
Private Attributes | |
mpfr_t | m_v |
Friends | |
std::ostream & | operator<< (std::ostream &os, const MpfrFloat &a) |
Wraps a mpfr_t object of the multiple-precision floating-pointer number library mpfr into a Numeric object and provides all necessary operators and functions for further calculations.
Definition at line 535 of file clipper.cc.
MpfrFloat::MpfrFloat | ( | ) | [inline] |
Definition at line 541 of file clipper.cc.
MpfrFloat::MpfrFloat | ( | const double & | d | ) | [inline] |
Definition at line 546 of file clipper.cc.
MpfrFloat::MpfrFloat | ( | const MpfrFloat & | d | ) | [inline] |
copy constructor
Definition at line 552 of file clipper.cc.
MpfrFloat::~MpfrFloat | ( | ) | [inline] |
Definition at line 563 of file clipper.cc.
static MpfrFloat MpfrFloat::binomial | ( | unsigned int | n, |
unsigned int | k | ||
) | [inline, static] |
Definition at line 581 of file clipper.cc.
const mpfr_t& MpfrFloat::get | ( | ) | const [inline] |
Definition at line 596 of file clipper.cc.
mpfr_t& MpfrFloat::get | ( | ) | [inline] |
Definition at line 601 of file clipper.cc.
static std::string MpfrFloat::getName | ( | ) | [inline, static] |
Definition at line 571 of file clipper.cc.
static MpfrFloat MpfrFloat::MINUS_INFINITY | ( | ) | [inline, static] |
Definition at line 576 of file clipper.cc.
bool MpfrFloat::operator!= | ( | const MpfrFloat & | o | ) | const [inline] |
Definition at line 673 of file clipper.cc.
Definition at line 634 of file clipper.cc.
Definition at line 656 of file clipper.cc.
Definition at line 624 of file clipper.cc.
Definition at line 644 of file clipper.cc.
MpfrFloat MpfrFloat::operator- | ( | ) | const [inline] |
Definition at line 619 of file clipper.cc.
Definition at line 629 of file clipper.cc.
Definition at line 650 of file clipper.cc.
Definition at line 639 of file clipper.cc.
Definition at line 662 of file clipper.cc.
bool MpfrFloat::operator< | ( | const MpfrFloat & | o | ) | const [inline] |
Definition at line 678 of file clipper.cc.
bool MpfrFloat::operator<= | ( | const MpfrFloat & | o | ) | const [inline] |
Definition at line 688 of file clipper.cc.
Definition at line 557 of file clipper.cc.
bool MpfrFloat::operator== | ( | const MpfrFloat & | o | ) | const [inline] |
Definition at line 668 of file clipper.cc.
bool MpfrFloat::operator> | ( | const MpfrFloat & | o | ) | const [inline] |
Definition at line 683 of file clipper.cc.
bool MpfrFloat::operator>= | ( | const MpfrFloat & | o | ) | const [inline] |
Definition at line 693 of file clipper.cc.
std::string MpfrFloat::toString | ( | ) | const [inline] |
Definition at line 606 of file clipper.cc.
std::ostream& operator<< | ( | std::ostream & | os, |
const MpfrFloat & | a | ||
) | [friend] |
Definition at line 614 of file clipper.cc.
const unsigned int MpfrFloat::IterationScale = 1 [static] |
Definition at line 569 of file clipper.cc.
mpfr_t MpfrFloat::m_v [private] |
Definition at line 538 of file clipper.cc.