|
GiNaC
1.6.2
|
Specialization of symbol to real domain. More...
#include <symbol.h>
Public Member Functions | |
| realsymbol () | |
| realsymbol (const std::string &initname) | |
| realsymbol (const std::string &initname, const std::string &texname) | |
| unsigned | get_domain () const |
| ex | conjugate () const |
| ex | real_part () const |
| ex | imag_part () const |
| realsymbol * | duplicate () const |
| Create a clone of this object on the heap. | |
| GiNaC::realsymbol::realsymbol | ( | ) |
Definition at line 56 of file symbol.cpp.
Referenced by duplicate().
| GiNaC::realsymbol::realsymbol | ( | const std::string & | initname | ) | [explicit] |
Definition at line 84 of file symbol.cpp.
| GiNaC::realsymbol::realsymbol | ( | const std::string & | initname, |
| const std::string & | texname | ||
| ) |
Definition at line 86 of file symbol.cpp.
| unsigned GiNaC::realsymbol::get_domain | ( | ) | const [inline, virtual] |
Reimplemented from GiNaC::symbol.
Reimplemented in GiNaC::possymbol.
Definition at line 100 of file symbol.h.
References GiNaC::real().
| ex GiNaC::realsymbol::conjugate | ( | ) | const [inline, virtual] |
Reimplemented from GiNaC::symbol.
| ex GiNaC::realsymbol::real_part | ( | ) | const [inline, virtual] |
Reimplemented from GiNaC::symbol.
| ex GiNaC::realsymbol::imag_part | ( | ) | const [inline, virtual] |
Reimplemented from GiNaC::symbol.
| realsymbol* GiNaC::realsymbol::duplicate | ( | ) | const [inline, virtual] |
Create a clone of this object on the heap.
One can think of this as simulating a virtual copy constructor which is needed for instance by the refcounted construction of an ex from a basic.
Reimplemented from GiNaC::basic.
Reimplemented in GiNaC::possymbol.
Definition at line 106 of file symbol.h.
References realsymbol().