Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Algebraic Structures

Various algebraic structures. More...

Classes

class  NAbelianGroup
 Represents a finitely generated abelian group. More...

class  NGroupExpression
 Represents an expression involving generators from a group presentation. More...

struct  NGroupExpressionTerm
 Represents a power of a generator in a group presentation. More...

class  NGroupPresentation
 Represents a finite presentation of a group. More...

class  NXMLAbelianGroupReader
 An XML element reader that reads a single abelian group. More...

class  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.


Detailed Description

Various algebraic structures.


Function Documentation

std::ostream& 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.

Parameters:
out the output stream to which to write.
term the term to write.
Returns:
a reference to the given output stream.


Copyright © 1999-2003, Ben Burton
This software is released under the GNU General Public License.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@debian.org).