RealDouble Class to hold double values. More...
#include <real_double.h>
Data Fields | |
double | i |
![]() | |
TypeID | type_code_ |
Static Public Attributes | |
static const TypeID | type_code_id = SYMENGINE_REAL_DOUBLE |
Additional Inherited Members | |
![]() | |
static RCP< const Basic > | loads (const std::string &) |
Creates an instance of a serialized string. | |
RealDouble Class to hold double values.
Definition at line 19 of file real_double.h.
|
explicit |
Constructor of RealDouble class.
Definition at line 12 of file real_double.cpp.
Equality comparator
o | - Object to be compared with |
Implements SymEngine::Basic.
Definition at line 25 of file real_double.cpp.
|
overridevirtual |
|
overridevirtual |
Implements SymEngine::Basic.
Implements SymEngine::Basic.
Converts the param other
appropriately and then calls addreal
Implements SymEngine::Number.
Definition at line 120 of file real_double.h.
Add RealDoubles
other | of type Complex |
Definition at line 104 of file real_double.h.
|
inline |
|
inline |
Returns -1, 0, 1 for this < o, this == o, this > o
. This method is used when you want to sort things like x+y+z
into canonical order. This function assumes that o
is the same type as this
. Use __cmp__
if you want general comparison.
Implements SymEngine::Basic.
Definition at line 34 of file real_double.cpp.
Converts the param other
appropriately and then calls divreal
Reimplemented from SymEngine::Number.
Definition at line 321 of file real_double.h.
Divide RealDoubles
other | of type Complex |
Definition at line 305 of file real_double.h.
|
inline |
|
overridevirtual |
Get Evaluate
singleton to evaluate numerically.
Reimplemented from SymEngine::Number.
Definition at line 376 of file real_double.cpp.
|
inlineoverridevirtual |
false
Implements SymEngine::Number.
Definition at line 78 of file real_double.h.
|
inlineoverridevirtual |
true
if this number is an exact number Reimplemented from SymEngine::Number.
Definition at line 52 of file real_double.h.
|
inlineoverridevirtual |
false
Implements SymEngine::Number.
Definition at line 72 of file real_double.h.
|
inlineoverridevirtual |
true
if negative Implements SymEngine::Number.
Definition at line 42 of file real_double.h.
|
inlineoverridevirtual |
false
Implements SymEngine::Number.
Definition at line 66 of file real_double.h.
|
inlineoverridevirtual |
true
if positive Implements SymEngine::Number.
Definition at line 37 of file real_double.h.
|
inlineoverridevirtual |
true
when equals to 0 Implements SymEngine::Number.
Definition at line 60 of file real_double.h.
Converts the param other
appropriately and then calls mulreal
Implements SymEngine::Number.
Definition at line 269 of file real_double.h.
Multiply RealDoubles
other | of type Complex |
Definition at line 253 of file real_double.h.
Multiply RealDoubles
other | of type Integer |
Definition at line 232 of file real_double.h.
|
inline |
Multiply RealDoubles
other | of type RealDouble |
Definition at line 263 of file real_double.h.
Converts the param other
appropriately and then calls powreal
Implements SymEngine::Number.
Definition at line 422 of file real_double.h.
Raise RealDouble to power other
other | of type Complex |
Definition at line 403 of file real_double.h.
Raise RealDouble to power other
other | of type Integer |
Definition at line 381 of file real_double.h.
Raise RealDouble to power other
other | of type Rational |
Definition at line 390 of file real_double.h.
|
inline |
Raise RealDouble to power other
other | of type RealDouble |
Definition at line 413 of file real_double.h.
Converts the param other
appropriately and then calls divreal
Reimplemented from SymEngine::Number.
Definition at line 365 of file real_double.h.
Divide RealDoubles
other | of type Complex |
Definition at line 357 of file real_double.h.
Converts the param other
appropriately and then calls powreal
Implements SymEngine::Number.
Definition at line 474 of file real_double.h.
Raise other
to power RealDouble
other | of type Complex |
Definition at line 466 of file real_double.h.
Raise other
to power RealDouble
other | of type Integer |
Definition at line 440 of file real_double.h.
Raise other
to power RealDouble
other | of type Rational |
Definition at line 453 of file real_double.h.
Converts the param other
appropriately and then calls subreal
Reimplemented from SymEngine::Number.
Definition at line 216 of file real_double.h.
Subtract RealDoubles
other | of type Complex |
Definition at line 208 of file real_double.h.
Converts the param other
appropriately and then calls subreal
Reimplemented from SymEngine::Number.
Definition at line 172 of file real_double.h.
Subtract RealDoubles
other | of type Complex |
Definition at line 156 of file real_double.h.
|
inline |
Subtract RealDoubles
other | of type RealDouble |
Definition at line 166 of file real_double.h.
double SymEngine::RealDouble::i |
Definition at line 22 of file real_double.h.
|
static |
Type_code_id shared by all instances
Definition at line 25 of file real_double.h.