exponents of monom in (x,y)-> negative exponets not allowed!
#include <xyMonom.h>
Public Member Functions | |
Constructors | |
xyExpPair () | |
xyExpPair (int _x_exp, int _y_exp) | |
xyExpPair (std::stringstream &sstream) | |
liest die Exponenten der Variablen (x,y). Nur positive Exponenten erlaubt. | |
Access to Exponents | |
void | set (int _x_exp, int _y_exp) |
unsigned int | getXExp () const |
unsigned int | getYExp () const |
unsigned int | getDegree () const |
returns ( x_exp + y_exp ) | |
Protected Member Functions | |
unsigned int | extractExplicitExponent (std::stringstream &sstream) |
Protected Attributes | |
unsigned int | x_exp |
x - exponent | |
unsigned int | y_exp |
y - exponent |
Definition at line 18 of file xyMonom.h.
xyExpPair::xyExpPair | ( | ) | [inline] |
xyExpPair::xyExpPair | ( | int | _x_exp, | |
int | _y_exp | |||
) | [inline] |
xyExpPair::xyExpPair | ( | std::stringstream & | sstream | ) |
Erlaubt ist also so etwas wie 'x' , 'y' , 'xy' 'x^2y 'xy^3' 'x*y' 'x^2*y^5' aber nicht 'x^-1'! wenn x oder y, dann entweder ^oder + erlaubt einschränken: wenn *, dann nur noch x oder y erlaubt.
Definition at line 46 of file xyMonom.cc.
References extractExplicitExponent(), x_exp, and y_exp.
unsigned int xyExpPair::extractExplicitExponent | ( | std::stringstream & | sstream | ) | [protected] |
Referenced by xyExpPair().
unsigned int xyExpPair::getDegree | ( | ) | const [inline] |
Definition at line 162 of file xyMonom.h.
Referenced by xyMonom< ccoeff >::getDegree().
unsigned int xyExpPair::getXExp | ( | ) | const [inline] |
Definition at line 167 of file xyMonom.h.
References x_exp.
Referenced by xyMonom< ccoeff >::getXExp(), xyMonom< ccoeff >::substitute(), and xyMonom< ccoeff >::substitute2().
unsigned int xyExpPair::getYExp | ( | ) | const [inline] |
Definition at line 172 of file xyMonom.h.
References y_exp.
Referenced by xyMonom< ccoeff >::getYExp(), xyMonom< ccoeff >::substitute(), and xyMonom< ccoeff >::substitute2().
void xyExpPair::set | ( | int | _x_exp, | |
int | _y_exp | |||
) | [inline] |
Definition at line 155 of file xyMonom.h.
Referenced by xyMonom< ccoeff >::setExp(), and xyMonom< ccoeff >::xyMonom().
unsigned int xyExpPair::x_exp [protected] |
Definition at line 43 of file xyMonom.h.
Referenced by getDegree(), getXExp(), set(), and xyExpPair().
unsigned int xyExpPair::y_exp [protected] |
Definition at line 44 of file xyMonom.h.
Referenced by getDegree(), getYExp(), set(), and xyExpPair().