#include <xyMonom.h>
Public Types | |
enum | TermType { DXTERM, DYTERM } |
Public Member Functions | |
xyOneFormTerm (const xyMonomType &mon, TermType whichForm) | |
xyOneFormTerm (const std::string &str) | |
xyOneFormTerm (std::stringstream &monomListStream) | |
xyMonomType | getMonom () const |
int | getDegree () const |
bool | isDxTerm () const |
bool | isDyTerm () const |
Private Attributes | |
TermType | whichDForm_m |
xyMonomType | xyMonom_m |
Definition at line 482 of file xyMonom.h.
enum xyOneFormTerm::TermType |
xyOneFormTerm< xyMonomType >::xyOneFormTerm | ( | const xyMonomType & | mon, | |
TermType | whichForm | |||
) | [inline] |
xyOneFormTerm< xyMonomType >::xyOneFormTerm | ( | const std::string & | paramstr | ) | [inline] |
'+-' sollte nicht erlaubt sein,
beim Einlesen der Differentialform kann diese theoretisch = 0 sein - dann geht das Einlesen wohl schief.
also: erstmal alle Whitespaces wegräumen. wenn nur dx auftaucht, dann ist pos=0 und es handelt sich um ein 1-Monom.
Definition at line 516 of file xyMonom.h.
References xyOneFormTerm< xyMonomType >::DXTERM, xyOneFormTerm< xyMonomType >::DYTERM, eatWS(), extractChar(), xyOneFormTerm< xyMonomType >::whichDForm_m, and xyOneFormTerm< xyMonomType >::xyMonom_m.
xyOneFormTerm< xyMonomType >::xyOneFormTerm | ( | std::stringstream & | monomListStream | ) |
int xyOneFormTerm< xyMonomType >::getDegree | ( | ) | const [inline] |
Definition at line 495 of file xyMonom.h.
References xyOneFormTerm< xyMonomType >::xyMonom_m.
xyMonomType xyOneFormTerm< xyMonomType >::getMonom | ( | ) | const [inline] |
Definition at line 494 of file xyMonom.h.
References xyOneFormTerm< xyMonomType >::xyMonom_m.
bool xyOneFormTerm< xyMonomType >::isDxTerm | ( | ) | const [inline] |
Definition at line 496 of file xyMonom.h.
References xyOneFormTerm< xyMonomType >::DXTERM, and xyOneFormTerm< xyMonomType >::whichDForm_m.
bool xyOneFormTerm< xyMonomType >::isDyTerm | ( | ) | const [inline] |
TermType xyOneFormTerm< xyMonomType >::whichDForm_m [private] |
Definition at line 497 of file xyMonom.h.
Referenced by xyOneFormTerm< xyMonomType >::isDxTerm(), and xyOneFormTerm< xyMonomType >::xyOneFormTerm().
xyMonomType xyOneFormTerm< xyMonomType >::xyMonom_m [private] |
Definition at line 501 of file xyMonom.h.
Referenced by xyOneFormTerm< xyMonomType >::getDegree(), xyOneFormTerm< xyMonomType >::getMonom(), and xyOneFormTerm< xyMonomType >::xyOneFormTerm().