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

PolyWord Class Reference

#include <PolyWord.h>

Inheritance diagram for PolyWord::

ObjectOf List of all members.

Public Methods

 PolyWord ()
 PolyWord (const Letter &let)
 PolyWord (const Word &w)
 PolyWord (const AbelianWord &aw)
 PolyWord (PolyWordRep *rep)
int length () const
int numberOfLetters () const
bool isEmpty () const
bool isCollected () const
const LetterfirstLetter () const
const LetterlastLetter () const
void printOn (ostream &s) const
void debugInfo () const
 operator Word () const
Chars toChars (const VectorOf< Chars > &names) const
void freelyReduce ()
PolyWord inverse () const
void append (const PolyWord &w)
void append (const Letter &w)
void clear ()
void duplicate (PolyWordNode *&ptrToFirst, PolyWordNode *&ptrToLast) const
void removeFirstLetter ()
PolyWord raiseToPower (int power) const

Friends

class  PolyWordIterator
class  ConstPolyWordIterator
ostream& operator< (ostream &s, const PolyWord &w)
istream& operator> (istream &s, PolyWord &w)

Constructor & Destructor Documentation

PolyWord::PolyWord ( ) [inline]
 

Definition at line 35 of file PolyWord.h.

PolyWord::PolyWord ( const Letter & let ) [inline]
 

Definition at line 37 of file PolyWord.h.

PolyWord::PolyWord ( const Word & w ) [inline]
 

Definition at line 40 of file PolyWord.h.

PolyWord::PolyWord ( const AbelianWord & aw ) [inline]
 

Definition at line 43 of file PolyWord.h.

PolyWord::PolyWord ( PolyWordRep * rep ) [inline]
 

Definition at line 46 of file PolyWord.h.


Member Function Documentation

int PolyWord::length ( ) const [inline]
 

Definition at line 56 of file PolyWord.h.

int PolyWord::numberOfLetters ( ) const [inline]
 

Definition at line 61 of file PolyWord.h.

Referenced by isEmpty().

bool PolyWord::isEmpty ( ) const [inline]
 

Definition at line 66 of file PolyWord.h.

Referenced by SubgroupBasis::absPower(), MalcevSet::absPower(), SubgroupBasis::leader(), MalcevSet::leader(), SubgroupBasis::power(), MalcevSet::power(), SubgroupBasis::sign(), and MalcevSet::sign().

bool PolyWord::isCollected ( ) const [inline]
 

Definition at line 68 of file PolyWord.h.

const Letter & PolyWord::firstLetter ( ) const [inline]
 

Definition at line 77 of file PolyWord.h.

Referenced by SubgroupBasis::absPower(), MalcevSet::absPower(), SubgroupBasis::leader(), MalcevSet::leader(), SubgroupBasis::power(), MalcevSet::power(), SubgroupBasis::sign(), and MalcevSet::sign().

const Letter & PolyWord::lastLetter ( ) const [inline]
 

Definition at line 82 of file PolyWord.h.

void PolyWord::printOn ( ostream & s ) const [inline]
 

Definition at line 95 of file PolyWord.h.

Referenced by operator<<().

void PolyWord::debugInfo ( ) const [inline]
 

Definition at line 110 of file PolyWord.h.

PolyWord::operator Word ( ) const [inline]
 

Definition at line 120 of file PolyWord.h.

Chars PolyWord::toChars ( const VectorOf< Chars > & names ) const [inline]
 

Definition at line 125 of file PolyWord.h.

Referenced by NilpotentGroupRep::asDecomposition().

void PolyWord::freelyReduce ( ) [inline]
 

Definition at line 130 of file PolyWord.h.

PolyWord PolyWord::inverse ( ) const [inline]
 

Definition at line 135 of file PolyWord.h.

Referenced by commutator(), and commutatorOfInverses().

void PolyWord::append ( const PolyWord & w ) [inline]
 

Definition at line 140 of file PolyWord.h.

Referenced by operator *().

void PolyWord::append ( const Letter & w ) [inline]
 

Definition at line 145 of file PolyWord.h.

void PolyWord::clear ( ) [inline]
 

Definition at line 150 of file PolyWord.h.

void PolyWord::duplicate ( PolyWordNode *& ptrToFirst,
PolyWordNode *& ptrToLast ) const [inline]
 

Definition at line 153 of file PolyWord.h.

void PolyWord::removeFirstLetter ( ) [inline]
 

Definition at line 159 of file PolyWord.h.

PolyWord PolyWord::raiseToPower ( int power ) const [inline]
 

Definition at line 164 of file PolyWord.h.


Friends And Related Function Documentation

friend class PolyWordIterator [friend]
 

Definition at line 88 of file PolyWord.h.

friend class ConstPolyWordIterator [friend]
 

Definition at line 89 of file PolyWord.h.

ostream & operator< ( ostream & s,
const PolyWord & w ) [friend]
 

Definition at line 100 of file PolyWord.h.

istream & operator> ( istream & s,
PolyWord & w ) [friend]
 

Definition at line 105 of file PolyWord.h.


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