GiNaC  1.6.2
Public Member Functions
GiNaC::realsymbol Class Reference

Specialization of symbol to real domain. More...

#include <symbol.h>

Inheritance diagram for GiNaC::realsymbol:
GiNaC::symbol GiNaC::basic GiNaC::refcounted GiNaC::possymbol

List of all members.

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
realsymbolduplicate () const
 Create a clone of this object on the heap.

Detailed Description

Specialization of symbol to real domain.

Definition at line 93 of file symbol.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Definition at line 102 of file symbol.h.

ex GiNaC::realsymbol::real_part ( ) const [inline, virtual]

Reimplemented from GiNaC::symbol.

Definition at line 103 of file symbol.h.

ex GiNaC::realsymbol::imag_part ( ) const [inline, virtual]

Reimplemented from GiNaC::symbol.

Definition at line 104 of file symbol.h.

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().


The documentation for this class was generated from the following files:

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.