edu.jas.structure
Interface RingFactory<C extends RingElem<C>>

All Superinterfaces:
AbelianGroupFactory<C>, ElemFactory<C>, MonoidFactory<C>, java.io.Serializable
All Known Subinterfaces:
AlgebraFactory<A,C>, ModularRingFactory<C>, PolynomialRing<C>
All Known Implementing Classes:
AlgebraicNumberRing, BigComplex, BigDecimal, BigInteger, BigOctonion, BigQuaternion, BigRational, ComplexAlgebraicRing, ComplexRing, GenMatrixRing, GenPolynomialRing, GenSolvablePolynomialRing, LocalRing, LocalRing, ModIntegerRing, ModLongRing, MultiVarPowerSeriesRing, ProductRing, QuotientRing, QuotientRing, RealAlgebraicRing, RealAlgebraicRing, ResidueRing, ResidueRing, UnivPowerSeriesRing

public interface RingFactory<C extends RingElem<C>>
extends AbelianGroupFactory<C>, MonoidFactory<C>

Ring factory interface. Defines test for field and access of characteristic.

Author:
Heinz Kredel

Method Summary
 java.math.BigInteger characteristic()
          Characteristic of this ring.
 boolean isField()
          Query if this ring is a field.
 
Methods inherited from interface edu.jas.structure.AbelianGroupFactory
getZERO
 
Methods inherited from interface edu.jas.structure.MonoidFactory
getONE, isAssociative, isCommutative
 
Methods inherited from interface edu.jas.structure.ElemFactory
copy, fromInteger, fromInteger, generators, isFinite, parse, parse, random, random, toScript
 

Method Detail

isField

boolean isField()
Query if this ring is a field. May return false if it is to hard to determine if this ring is a field.

Returns:
true if it is known that this ring is a field, else false.

characteristic

java.math.BigInteger characteristic()
Characteristic of this ring.

Returns:
characteristic of this ring.