xyExpPair Struct Reference

exponents of monom in (x,y)-> negative exponets not allowed!

#include <xyMonom.h>

List of all members.

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

Detailed Description

Definition at line 18 of file xyMonom.h.


Constructor & Destructor Documentation

xyExpPair::xyExpPair (  )  [inline]

Definition at line 141 of file xyMonom.h.

References x_exp, and y_exp.

xyExpPair::xyExpPair ( int  _x_exp,
int  _y_exp 
) [inline]

Definition at line 147 of file xyMonom.h.

References x_exp, and y_exp.

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.

Here is the call graph for this function:


Member Function Documentation

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.

References x_exp, and y_exp.

Referenced by xyMonom< ccoeff >::getDegree().

unsigned int xyExpPair::getXExp (  )  const [inline]
unsigned int xyExpPair::getYExp (  )  const [inline]
void xyExpPair::set ( int  _x_exp,
int  _y_exp 
) [inline]

Definition at line 155 of file xyMonom.h.

References x_exp, and y_exp.

Referenced by xyMonom< ccoeff >::setExp(), and xyMonom< ccoeff >::xyMonom().


Member Data Documentation

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


The documentation for this struct was generated from the following files:
Generated on Tue Nov 23 13:10:53 2010 for centerfocus by  doxygen 1.6.3