HepLib
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Friends | List of all members
HepLib::iSymbol Class Reference

class extended to GiNaC symbol class, pure imaginary symbol More...

#include <BASIC.h>

Inheritance diagram for HepLib::iSymbol:
Inheritance graph
[legend]
Collaboration diagram for HepLib::iSymbol:
Collaboration graph
[legend]

Classes

class  visitor
 

Public Types

typedef symbol inherited
 

Public Member Functions

 iSymbol ()
 
iSymbolduplicate () const override
 
void accept (GiNaC::visitor &v) const override
 
const GiNaC::registered_class_info & get_class_info () const override
 
GiNaC::registered_class_info & get_class_info () override
 
const char * class_name () const override
 
 iSymbol (const string &s)
 Symbol constructor. More...
 
void archive (archive_node &n) const override
 Symbol archive. More...
 
void read_archive (const archive_node &n) override
 Symbol read_archive. More...
 
unsigned get_domain () const override
 
ex eval () const override
 
ex evalf () const override
 
ex series (const relational &s, int order, unsigned options=0) const override
 
ex subs (const exmap &m, unsigned options=0) const override
 
ex conjugate () const override
 
ex real_part () const override
 
ex imag_part () const override
 
void set_name (string n)
 

Static Public Member Functions

static GiNaC::registered_class_info & get_class_info_static ()
 
static bool has (const ex &e)
 
static lst all (const ex &e)
 

Static Public Attributes

static std::map< std::string, ex > Table
 

Protected Member Functions

int compare_same_type (const GiNaC::basic &other) const override
 
unsigned calchash () const override
 
ex derivative (const symbol &s) const override
 
bool is_equal_same_type (const basic &other) const override
 

Friends

template<class B , typename... Args>
B & dynallocate (Args &&... args)
 

Detailed Description

class extended to GiNaC symbol class, pure imaginary symbol

Definition at line 183 of file BASIC.h.

Member Typedef Documentation

◆ inherited

Definition at line 195 of file BASIC.h.

Constructor & Destructor Documentation

◆ iSymbol() [1/2]

HepLib::iSymbol::iSymbol ( )

Definition at line 178 of file BASIC.cpp.

◆ iSymbol() [2/2]

HepLib::iSymbol::iSymbol ( const string &  s)

Symbol constructor.

Parameters
ssymbol name

Definition at line 177 of file BASIC.cpp.

Member Function Documentation

◆ accept()

void HepLib::iSymbol::accept ( GiNaC::visitor &  v) const
override

Definition at line 167 of file BASIC.cpp.

◆ all()

static lst HepLib::iSymbol::all ( const ex &  e)
static

◆ archive()

void HepLib::iSymbol::archive ( archive_node &  n) const
override

Symbol archive.

Parameters
narchive node

Definition at line 224 of file BASIC.cpp.

◆ calchash()

unsigned HepLib::iSymbol::calchash ( ) const
overrideprotected

Definition at line 214 of file BASIC.cpp.

◆ class_name()

const char * HepLib::iSymbol::class_name ( ) const
override

Definition at line 170 of file BASIC.cpp.

◆ compare_same_type()

int HepLib::iSymbol::compare_same_type ( const GiNaC::basic &  other) const
overrideprotected

Definition at line 179 of file BASIC.cpp.

◆ conjugate()

ex HepLib::iSymbol::conjugate ( ) const
override

Definition at line 238 of file BASIC.cpp.

◆ derivative()

ex HepLib::iSymbol::derivative ( const symbol &  s) const
overrideprotected

Definition at line 194 of file BASIC.cpp.

◆ duplicate()

iSymbol * HepLib::iSymbol::duplicate ( ) const
override

Definition at line 166 of file BASIC.cpp.

◆ eval()

ex HepLib::iSymbol::eval ( ) const
override

Definition at line 236 of file BASIC.cpp.

◆ evalf()

ex HepLib::iSymbol::evalf ( ) const
override

Definition at line 237 of file BASIC.cpp.

◆ get_class_info() [1/2]

const GiNaC::registered_class_info & HepLib::iSymbol::get_class_info ( ) const
override

Definition at line 168 of file BASIC.cpp.

◆ get_class_info() [2/2]

GiNaC::registered_class_info & HepLib::iSymbol::get_class_info ( )
override

Definition at line 169 of file BASIC.cpp.

◆ get_class_info_static()

GiNaC::registered_class_info & HepLib::iSymbol::get_class_info_static ( )
static

Definition at line 164 of file BASIC.cpp.

◆ get_domain()

unsigned HepLib::iSymbol::get_domain ( ) const
inlineoverride

Definition at line 211 of file BASIC.h.

◆ has()

static bool HepLib::iSymbol::has ( const ex &  e)
static

◆ imag_part()

ex HepLib::iSymbol::imag_part ( ) const
override

Definition at line 240 of file BASIC.cpp.

◆ is_equal_same_type()

bool HepLib::iSymbol::is_equal_same_type ( const basic &  other) const
overrideprotected

Definition at line 188 of file BASIC.cpp.

◆ read_archive()

void HepLib::iSymbol::read_archive ( const archive_node &  n)
override

Symbol read_archive.

Parameters
narchive node

Definition at line 232 of file BASIC.cpp.

◆ real_part()

ex HepLib::iSymbol::real_part ( ) const
override

Definition at line 239 of file BASIC.cpp.

◆ series()

ex HepLib::iSymbol::series ( const relational &  s,
int  order,
unsigned  options = 0 
) const
override

Definition at line 200 of file BASIC.cpp.

◆ set_name()

void HepLib::iSymbol::set_name ( string  n)

Definition at line 212 of file BASIC.cpp.

◆ subs()

ex HepLib::iSymbol::subs ( const exmap &  m,
unsigned  options = 0 
) const
inlineoverride

Definition at line 217 of file BASIC.h.

Friends And Related Function Documentation

◆ dynallocate

template<class B , typename... Args>
B& dynallocate ( Args &&...  args)
friend

Member Data Documentation

◆ Table

std::map< std::string, ex > HepLib::iSymbol::Table
static

Definition at line 230 of file BASIC.h.


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