org.lsmp.djep.groupJep.groups
Class ExtendedFreeGroup
java.lang.Object
org.lsmp.djep.groupJep.groups.Group
org.lsmp.djep.groupJep.groups.FreeGroup
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExtendedFreeGroup
public ExtendedFreeGroup(RingI K,
java.lang.String symbol)
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