Complex Double Class to hold std::complex<double> values. More...
#include <complex_double.h>
Data Fields | |
std::complex< double > | i |
![]() | |
TypeID | type_code_ |
Static Public Attributes | |
static const TypeID | type_code_id = SYMENGINE_COMPLEX_DOUBLE |
Additional Inherited Members | |
![]() | |
static RCP< const Basic > | loads (const std::string &) |
Creates an instance of a serialized string. | |
Complex Double Class to hold std::complex<double> values.
Definition at line 15 of file complex_double.h.
|
explicit |
Constructor of ComplexDouble class.
Definition at line 11 of file complex_double.cpp.
Equality comparator
o | - Object to be compared with |
Implements SymEngine::Basic.
Definition at line 41 of file complex_double.cpp.
|
overridevirtual |
Implements SymEngine::Basic.
Definition at line 33 of file complex_double.cpp.
|
overridevirtual |
Implements SymEngine::Basic.
Implements SymEngine::Basic.
|
inlineoverridevirtual |
Converts the param other
appropriately and then calls addcomp
Implements SymEngine::Number.
Definition at line 133 of file complex_double.h.
Add ComplexDoubles
other | of type Complex |
Definition at line 108 of file complex_double.h.
|
inline |
Add ComplexDoubles
other | of type ComplexDouble |
Definition at line 127 of file complex_double.h.
|
inline |
Add ComplexDoubles
other | of type RealDouble |
Definition at line 119 of file complex_double.h.
|
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 50 of file complex_double.cpp.
Get the conjugate of the complex number.
Reimplemented from SymEngine::Number.
Definition at line 27 of file complex_double.cpp.
|
inlineoverridevirtual |
Converts the param other
appropriately and then calls divcomp
Reimplemented from SymEngine::Number.
Definition at line 375 of file complex_double.h.
Divide ComplexDoubles
other | of type Complex |
Definition at line 350 of file complex_double.h.
|
inline |
Divide ComplexDoubles
other | of type ComplexDouble |
Definition at line 369 of file complex_double.h.
Divide ComplexDoubles
other | of type Integer |
Definition at line 332 of file complex_double.h.
Divide ComplexDoubles
other | of type Rational |
Definition at line 341 of file complex_double.h.
|
inline |
Divide ComplexDoubles
other | of type RealDouble |
Definition at line 361 of file complex_double.h.
|
overridevirtual |
Get Evaluate
singleton to evaluate numerically.
Reimplemented from SymEngine::Number.
Definition at line 382 of file real_double.cpp.
Get the imaginary part of the complex number.
Implements SymEngine::ComplexBase.
Definition at line 22 of file complex_double.cpp.
|
inlineoverridevirtual |
true
Implements SymEngine::Number.
Definition at line 51 of file complex_double.h.
|
inlineoverridevirtual |
false
Reimplemented from SymEngine::Number.
Definition at line 62 of file complex_double.h.
|
inlineoverridevirtual |
false
Implements SymEngine::Number.
Definition at line 82 of file complex_double.h.
|
inlineoverridevirtual |
false
Implements SymEngine::Number.
Definition at line 46 of file complex_double.h.
|
inlineoverridevirtual |
false
Implements SymEngine::Number.
Definition at line 76 of file complex_double.h.
|
inlineoverridevirtual |
false
Implements SymEngine::Number.
Definition at line 40 of file complex_double.h.
|
inlineoverridevirtual |
true
if equal to 0
Implements SymEngine::Number.
Definition at line 70 of file complex_double.h.
|
inlineoverridevirtual |
Converts the param other
appropriately and then calls mulcomp
Implements SymEngine::Number.
Definition at line 312 of file complex_double.h.
Multiply ComplexDoubles
other | of type Complex |
Definition at line 287 of file complex_double.h.
|
inline |
Multiply ComplexDoubles
other | of type ComplexDouble |
Definition at line 306 of file complex_double.h.
Multiply ComplexDoubles
other | of type Integer |
Definition at line 269 of file complex_double.h.
Multiply ComplexDoubles
other | of type Rational |
Definition at line 278 of file complex_double.h.
|
inline |
Multiply ComplexDoubles
other | of type RealDouble |
Definition at line 298 of file complex_double.h.
|
inlineoverridevirtual |
Converts the param other
appropriately and then calls powcomp
Implements SymEngine::Number.
Definition at line 491 of file complex_double.h.
Raise ComplexDouble to power other
other | of type Complex |
Definition at line 466 of file complex_double.h.
|
inline |
Raise ComplexDouble to power other
other | of type ComplexDouble |
Definition at line 484 of file complex_double.h.
Raise ComplexDouble to power other
other | of type Integer |
Definition at line 448 of file complex_double.h.
Raise ComplexDouble to power other
other | of type Rational |
Definition at line 457 of file complex_double.h.
|
inline |
Raise ComplexDouble to power other
other | of type RealDouble |
Definition at line 475 of file complex_double.h.
|
inlineoverridevirtual |
Converts the param other
appropriately and then calls divcomp
Reimplemented from SymEngine::Number.
Definition at line 430 of file complex_double.h.
Divide ComplexDoubles
other | of type Complex |
Definition at line 413 of file complex_double.h.
Divide ComplexDoubles
other | of type Integer |
Definition at line 395 of file complex_double.h.
Divide ComplexDoubles
other | of type Rational |
Definition at line 404 of file complex_double.h.
|
inline |
Divide ComplexDoubles
other | of type RealDouble |
Definition at line 424 of file complex_double.h.
Get the real part of the complex number.
Implements SymEngine::ComplexBase.
Definition at line 17 of file complex_double.cpp.
|
inlineoverridevirtual |
Converts the param other
appropriately and then calls powcomp
Implements SymEngine::Number.
Definition at line 547 of file complex_double.h.
Raise other
to power ComplexDouble
other | of type Complex |
Definition at line 529 of file complex_double.h.
Raise other
to power ComplexDouble
other | of type Integer |
Definition at line 511 of file complex_double.h.
Raise other
to power ComplexDouble
other | of type Rational |
Definition at line 520 of file complex_double.h.
|
inline |
Raise other
to power ComplexDouble
other | of type RealDouble |
Definition at line 540 of file complex_double.h.
|
inlineoverridevirtual |
Converts the param other
appropriately and then calls subcomp
Reimplemented from SymEngine::Number.
Definition at line 251 of file complex_double.h.
Subtract ComplexDoubles
other | of type Complex |
Definition at line 234 of file complex_double.h.
Subtract ComplexDoubles
other | of type Integer |
Definition at line 216 of file complex_double.h.
Subtract ComplexDoubles
other | of type Rational |
Definition at line 225 of file complex_double.h.
|
inline |
Subtract ComplexDoubles
other | of type RealDouble |
Definition at line 245 of file complex_double.h.
|
inlineoverridevirtual |
Converts the param other
appropriately and then calls subcomp
Reimplemented from SymEngine::Number.
Definition at line 196 of file complex_double.h.
Subtract ComplexDoubles
other | of type Complex |
Definition at line 171 of file complex_double.h.
|
inline |
Subtract ComplexDoubles
other | of type ComplexDouble |
Definition at line 190 of file complex_double.h.
Subtract ComplexDoubles
other | of type Integer |
Definition at line 153 of file complex_double.h.
Subtract ComplexDoubles
other | of type Rational |
Definition at line 162 of file complex_double.h.
|
inline |
Subtract ComplexDoubles
other | of type RealDouble |
Definition at line 182 of file complex_double.h.
std::complex<double> SymEngine::ComplexDouble::i |
Definition at line 18 of file complex_double.h.
|
static |
Type_code_id shared by all instances
Definition at line 21 of file complex_double.h.