javamath.util.math
Class PermutationGroup

java.lang.Object
  |
  +--javamath.util.math.MathObject
        |
        +--javamath.util.math.PermutationGroup
All Implemented Interfaces:
MathInterface

public class PermutationGroup
extends MathObject

This class represents a permutation group using GAP's permutation CD and PolyMath's OpenMath library. This object is immutable.


Constructor Summary
PermutationGroup()
          Construct the trivial group
PermutationGroup(javamath.util.math.OMApplication app)
          Construct a group from an OMApplication encoding
PermutationGroup(Permutation[] gens)
          Construct a group from a Permutation array.
 
Method Summary
 javamath.util.math.OMObject toOMObject()
          Construct an OMObject encoding for the group.
 java.lang.String toString()
          Create a reasonable string encoding.
 
Methods inherited from class javamath.util.math.MathObject
asASCII, asHTML, asLaTeX, asMathML, asOpenMath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PermutationGroup

public PermutationGroup()
Construct the trivial group

PermutationGroup

public PermutationGroup(Permutation[] gens)
Construct a group from a Permutation array.

PermutationGroup

public PermutationGroup(javamath.util.math.OMApplication app)
                 throws java.lang.Exception
Construct a group from an OMApplication encoding
Method Detail

toOMObject

public javamath.util.math.OMObject toOMObject()
Construct an OMObject encoding for the group.
Overrides:
toOMObject in class MathObject

toString

public java.lang.String toString()
Create a reasonable string encoding. This looks quite GAP like for the time being.
Overrides:
toString in class java.lang.Object