clipper
|
Implements a wrapper around one of the hardware floating-point data types so that these can be used as a "Numeric" template parameter. More...
Public Member Functions | |
Double (const Type &v=0) | |
const Type & | get () const |
std::string | toString () const |
Double | operator- () const |
Double | operator+ (const Double &o) const |
Double | operator- (const Double &o) const |
Double | operator* (const Double &o) const |
Double | operator/ (const Double &o) const |
Double & | operator+= (const Double &o) |
Double & | operator-= (const Double &o) |
Double & | operator*= (const Double &o) |
Double & | operator/= (const Double &o) |
bool | operator== (const Double &o) const |
bool | operator!= (const Double &o) const |
bool | operator< (const Double &o) const |
bool | operator> (const Double &o) const |
bool | operator>= (const Double &o) const |
bool | operator<= (const Double &o) const |
template<> | |
std::string | getName () |
template<> | |
std::string | getName () |
template<> | |
std::string | getName () |
template<> | |
Double< float > | binomial (unsigned int n, unsigned int k) |
template<> | |
Double< double > | binomial (unsigned int n, unsigned int k) |
template<> | |
Double< long double > | binomial (unsigned int n, unsigned int k) |
Static Public Member Functions | |
static std::string | getName () |
static Double | MINUS_INFINITY () |
static Double | binomial (unsigned int n, unsigned int k) |
Static Public Attributes | |
static const unsigned int | IterationScale = 20 |
Private Attributes | |
Type | m_v |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Double< Type > &d) |
Implements a wrapper around one of the hardware floating-point data types so that these can be used as a "Numeric" template parameter.
Definition at line 315 of file clipper.cc.
Definition at line 321 of file clipper.cc.
static Double Double< Type >::binomial | ( | unsigned int | n, |
unsigned int | k | ||
) | [inline, static] |
Definition at line 509 of file clipper.cc.
Definition at line 515 of file clipper.cc.
Double< long double > Double< long double >::binomial | ( | unsigned int | n, |
unsigned int | k | ||
) | [inline] |
Definition at line 521 of file clipper.cc.
Definition at line 338 of file clipper.cc.
Definition at line 434 of file clipper.cc.
Definition at line 440 of file clipper.cc.
Definition at line 446 of file clipper.cc.
static Double Double< Type >::MINUS_INFINITY | ( | ) | [inline, static] |
Definition at line 331 of file clipper.cc.
bool Double< Type >::operator!= | ( | const Double< Type > & | o | ) | const [inline] |
Definition at line 407 of file clipper.cc.
Double Double< Type >::operator* | ( | const Double< Type > & | o | ) | const [inline] |
Definition at line 368 of file clipper.cc.
Double& Double< Type >::operator*= | ( | const Double< Type > & | o | ) | [inline] |
Definition at line 390 of file clipper.cc.
Double Double< Type >::operator+ | ( | const Double< Type > & | o | ) | const [inline] |
Definition at line 358 of file clipper.cc.
Double& Double< Type >::operator+= | ( | const Double< Type > & | o | ) | [inline] |
Definition at line 378 of file clipper.cc.
Definition at line 353 of file clipper.cc.
Double Double< Type >::operator- | ( | const Double< Type > & | o | ) | const [inline] |
Definition at line 363 of file clipper.cc.
Double& Double< Type >::operator-= | ( | const Double< Type > & | o | ) | [inline] |
Definition at line 384 of file clipper.cc.
Double Double< Type >::operator/ | ( | const Double< Type > & | o | ) | const [inline] |
Definition at line 373 of file clipper.cc.
Double& Double< Type >::operator/= | ( | const Double< Type > & | o | ) | [inline] |
Definition at line 396 of file clipper.cc.
bool Double< Type >::operator< | ( | const Double< Type > & | o | ) | const [inline] |
Definition at line 412 of file clipper.cc.
bool Double< Type >::operator<= | ( | const Double< Type > & | o | ) | const [inline] |
Definition at line 427 of file clipper.cc.
bool Double< Type >::operator== | ( | const Double< Type > & | o | ) | const [inline] |
Definition at line 402 of file clipper.cc.
bool Double< Type >::operator> | ( | const Double< Type > & | o | ) | const [inline] |
Definition at line 417 of file clipper.cc.
bool Double< Type >::operator>= | ( | const Double< Type > & | o | ) | const [inline] |
Definition at line 422 of file clipper.cc.
Definition at line 343 of file clipper.cc.
std::ostream& operator<< | ( | std::ostream & | os, |
const Double< Type > & | d | ||
) | [friend] |
Definition at line 348 of file clipper.cc.
const unsigned int Double< Type >::IterationScale = 20 [static] |
Definition at line 327 of file clipper.cc.
Definition at line 318 of file clipper.cc.