MultiIndex Class Reference

Class to represent a MultiIndex. More...

#include <polynom.h>

List of all members.

Public Member Functions

 MultiIndex ()
 Default-Constructor.
 MultiIndex (int i)
 Constructor for one element.
 MultiIndex (int i, int j)
 Constructor for two elements.
bool operator< (const MultiIndex &x)
 Comparision operator.

Friends

ostream & operator<< (ostream &out, const MultiIndex &x)

Detailed Description

Class to represent a MultiIndex.

Definition at line 18 of file polynom.h.


Constructor & Destructor Documentation

MultiIndex::MultiIndex (  )  [inline]

Default-Constructor.

Definition at line 27 of file polynom.h.

MultiIndex::MultiIndex ( int  i  )  [inline]

Constructor for one element.

Constructs a multiset with given element.

Parameters:
i Element to put in multiset.

Definition at line 35 of file polynom.h.

MultiIndex::MultiIndex ( int  i,
int  j 
) [inline]

Constructor for two elements.

Constructs a multiset with two given element.

Parameters:
i First element to put in multiset.
j Second element to put in multiset.

Definition at line 45 of file polynom.h.


Member Function Documentation

bool MultiIndex::operator< ( const MultiIndex x  )  [inline]

Comparision operator.

Parameters:
x The MultiIndex to compare this MultiIndex with.
Returns:
If this->size() < x.size(), returns true. If this->size()>x.size(), returns false. If both have same size, calls operator< from multiset-class, which does a lexicographic comparision.

Definition at line 55 of file polynom.h.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
const MultiIndex x 
) [friend]

Definition at line 19 of file polynom.h.


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

Generated on 10 Mar 2013 for LaGO by  doxygen 1.6.1