org.lsmp.djep.groupJep.groups
Class ExtendedFreeGroup

java.lang.Object
  extended by org.lsmp.djep.groupJep.groups.Group
      extended by org.lsmp.djep.groupJep.groups.FreeGroup
          extended by org.lsmp.djep.groupJep.groups.ExtendedFreeGroup
All Implemented Interfaces:
GroupI, AbelianGroupI, HasDivI, HasPowerI, RingI
Direct Known Subclasses:
AlgebraicExtension

public class ExtendedFreeGroup
extends FreeGroup
implements HasPowerI, HasDivI

An extended version of a Free Group, limted seport for powers and division. Positive integer powers are allowed and division by constants. TODO implement polynomial division and remainder (mod).

Author:
Rich Morris Created on 07-Dec-2004

Field Summary
 
Fields inherited from class org.lsmp.djep.groupJep.groups.FreeGroup
baseRing, rootVal, symbol, tPoly, unitPoly, zeroPoly
 
Constructor Summary
ExtendedFreeGroup(RingI K, java.lang.String symbol)
           
 
Method Summary
 java.lang.Number div(java.lang.Number a, java.lang.Number b)
          Currently just division by constants.
 java.lang.Number pow(java.lang.Number a, java.lang.Number b)
          Limited implementation of power, only works with integer powers.
 
Methods inherited from class org.lsmp.djep.groupJep.groups.FreeGroup
add, addStandardConstants, equals, getBaseRing, getInverse, getONE, getRootVal, getSymbol, getTPoly, getZERO, isConstantPoly, mul, setRootVal, setRootVal, sub, toString, valueOf, valueOf
 
Methods inherited from class org.lsmp.djep.groupJep.groups.Group
addStandardFunctions, getNumberFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.lsmp.djep.groupJep.GroupI
addStandardFunctions, getNumberFactory
 

Constructor Detail

ExtendedFreeGroup

public ExtendedFreeGroup(RingI K,
                         java.lang.String symbol)
Method Detail

pow

public java.lang.Number pow(java.lang.Number a,
                            java.lang.Number b)
Limited implementation of power, only works with integer powers. Second argument should be an Integer.

Specified by:
pow in interface HasPowerI

div

public java.lang.Number div(java.lang.Number a,
                            java.lang.Number b)
Currently just division by constants. Polynomial division to come.

Specified by:
div in interface HasDivI


http://www.singularsys.com/jep Copyright © 2007 Singular Systems