MultiIndex Class Reference
Class to represent a MultiIndex.
More...
#include <polynom.h>
List of all members.
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:
-
- 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] |
The documentation for this class was generated from the following file: