Classes | |
class | regina::NAbelianGroup |
Represents a finitely generated abelian group. More... | |
struct | regina::NGroupExpressionTerm |
Represents a power of a generator in a group presentation. More... | |
class | regina::NGroupExpression |
Represents an expression involving generators from a group presentation. More... | |
class | regina::NGroupPresentation |
Represents a finite presentation of a group. More... | |
class | regina::NXMLAbelianGroupReader |
An XML element reader that reads a single abelian group. More... | |
class | regina::NXMLGroupPresentationReader |
An XML element reader that reads a single group presentation. More... | |
Functions | |
std::ostream & | regina::operator<< (std::ostream &out, const NGroupExpressionTerm &term) |
Writes the given term to the given output stream. |
std::ostream& regina::operator<< | ( | std::ostream & | out, | |
const NGroupExpressionTerm & | term | |||
) |
Writes the given term to the given output stream.
The term will be written in the format g3^-7
, where in this example the term represents generator number 3 raised to the -7th power.
If the term has exponent 0 or 1, the output format will be appropriately simplified.
out | the output stream to which to write. | |
term | the term to write. |