Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

AbelianWord Class Reference

#include <AbelianWord.h>

Inheritance diagram for AbelianWord::

ObjectOf List of all members.

Public Methods

 AbelianWord ()
 AbelianWord (int numOfGens, const Word &w)
 AbelianWord (const VectorOf< Integer > &v)
bool operator== (const AbelianWord &w) const
int operator!= (const AbelianWord &w) const
Integer operator[] (int i) const
Integer& operator[] (int i)
AbelianWord operator * (const AbelianWord &w) const
int numberOfGenerators () const
VectorOf<Integer> getPowers () const
Word getWord () const
Integer fullLength () const
AbelianWord inverse () const
bool isTrivial () const

Protected Methods

 AbelianWord (AbelianWordRep *newrep)


ostream& operator<< (ostream &ostr, const AbelianWord &w)
ostream& operator< (ostream &ostr, const AbelianWord &w)
istream& operator> (istream &istr, AbelianWord &w)

Constructor & Destructor Documentation

AbelianWord::AbelianWord ( ) [inline]

Definition at line 147 of file AbelianWord.h.

Referenced by operator *().

AbelianWord::AbelianWord ( int numOfGens,
const Word & w ) [inline]

Definition at line 150 of file AbelianWord.h.

AbelianWord::AbelianWord ( const VectorOf< Integer > & v ) [inline]

Definition at line 153 of file AbelianWord.h.

AbelianWord::AbelianWord ( AbelianWordRep * newrep ) [inline, protected]

Definition at line 265 of file AbelianWord.h.

Member Function Documentation

bool AbelianWord::operator== ( const AbelianWord & w ) const [inline]

Definition at line 165 of file AbelianWord.h.

int AbelianWord::operator!= ( const AbelianWord & w ) const [inline]

Definition at line 170 of file AbelianWord.h.

Integer AbelianWord::operator[] ( int i ) const [inline]

Definition at line 173 of file AbelianWord.h.

Referenced by operator[]().

Integer & AbelianWord::operator[] ( int i ) [inline]

Definition at line 178 of file AbelianWord.h.

AbelianWord AbelianWord::operator * ( const AbelianWord & w ) const [inline]

Definition at line 183 of file AbelianWord.h.

int AbelianWord::numberOfGenerators ( ) const [inline]

Definition at line 192 of file AbelianWord.h.

VectorOf< Integer > AbelianWord::getPowers<Integer> ( ) const [inline]

Definition at line 197 of file AbelianWord.h.

Word AbelianWord::getWord ( ) const [inline]

Definition at line 202 of file AbelianWord.h.

Integer AbelianWord::fullLength ( ) const [inline]

Definition at line 207 of file AbelianWord.h.

AbelianWord AbelianWord::inverse ( ) const [inline]

Definition at line 212 of file AbelianWord.h.

bool AbelianWord::isTrivial ( ) const [inline]

Definition at line 217 of file AbelianWord.h.

Friends And Related Function Documentation

ostream & operator<< ( ostream & ostr,
const AbelianWord & w ) [friend]

Definition at line 229 of file AbelianWord.h.

ostream & operator< ( ostream & ostr,
const AbelianWord & w ) [friend]

Definition at line 244 of file AbelianWord.h.

istream & operator> ( istream & istr,
AbelianWord & w ) [friend]

Definition at line 250 of file AbelianWord.h.

The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:49:47 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001