My Project
|
factory's class for variables More...
#include <variable.h>
Public Member Functions | |
Variable () | |
Variable (int l) | |
Variable (char name) | |
Variable (int l, char name) | |
Variable (const Variable &v) | |
~Variable () | |
Variable & | operator= (const Variable &v) |
int | level () const |
char | name () const |
Variable | next () const |
Static Public Member Functions | |
static Variable | highest () |
Private Member Functions | |
Variable (int l, bool flag) | |
Private Attributes | |
int | _level |
Friends | |
bool | operator== (const Variable &lhs, const Variable &rhs) |
bool | operator!= (const Variable &lhs, const Variable &rhs) |
bool | operator> (const Variable &lhs, const Variable &rhs) |
bool | operator< (const Variable &lhs, const Variable &rhs) |
bool | operator>= (const Variable &lhs, const Variable &rhs) |
bool | operator<= (const Variable &lhs, const Variable &rhs) |
OSTREAM & | operator<< (OSTREAM &os, const Variable &v) |
void | swap_levels () |
Variable | rootOf (const CanonicalForm &, char name) |
returns a symbolic root of polynomial with name name. More... | |
factory's class for variables
Definition at line 32 of file variable.h.
|
private |
Definition at line 47 of file variable.cc.
|
inline |
Definition at line 38 of file variable.h.
Variable::Variable | ( | int | l | ) |
Definition at line 52 of file variable.cc.
Variable::Variable | ( | char | name | ) |
Definition at line 57 of file variable.cc.
Variable::Variable | ( | int | l, |
char | name | ||
) |
Definition at line 99 of file variable.cc.
Definition at line 42 of file variable.h.
|
inline |
Definition at line 43 of file variable.h.
|
inlinestatic |
Definition at line 51 of file variable.h.
|
inline |
Definition at line 49 of file variable.h.
char Variable::name | ( | ) | const |
Definition at line 122 of file variable.cc.
|
inline |
Definition at line 52 of file variable.h.
Definition at line 44 of file variable.h.
Definition at line 57 of file variable.h.
Definition at line 65 of file variable.h.
Definition at line 73 of file variable.h.
Definition at line 53 of file variable.h.
Definition at line 61 of file variable.h.
Definition at line 69 of file variable.h.
|
friend |
returns a symbolic root of polynomial with name name.
Use it to define algebraic variables
Definition at line 162 of file variable.cc.
|
friend |
|
private |
Definition at line 35 of file variable.h.