Package edu.jas.poly

Class LocalRing<C extends RingElem<C>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected C ideal
      Ideal generator for localization.
      protected int isField
      Indicator if this ring is a field.
      protected static java.util.Random random
      A default random sequence generator.
      protected RingFactory<C> ring
      Ring factory.
    • Constructor Summary

      Constructors 
      Constructor Description
      LocalRing​(RingFactory<C> r, C i)
      The constructor creates a LocalRing object from a RingFactory and a RingElem.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.math.BigInteger characteristic()
      Characteristic of this ring.
      Local<C> copy​(Local<C> c)
      Copy Local element c.
      Local<C> create​(C n)
      Create from numerator.
      Local<C> create​(C n, C d)
      Create from numerator, denominator pair.
      boolean equals​(java.lang.Object b)
      Comparison with any other object.
      Local<C> fromInteger​(long a)
      Get a Local element from a long value.
      Local<C> fromInteger​(java.math.BigInteger a)
      Get a Local element from a BigInteger value.
      java.util.List<Local<C>> generators()
      Get a list of the generating elements.
      Local<C> getONE()
      Get the one element.
      Local<C> getZERO()
      Get the zero element.
      int hashCode()
      Hash code for this local ring.
      boolean isAssociative()
      Query if this ring is associative.
      boolean isCommutative()
      Query if this ring is commutative.
      boolean isField()
      Query if this ring is a field.
      boolean isFinite()
      Is this structure finite or infinite.
      RingFactory<C> pairFactory()
      Factory for base elements.
      Local<C> parse​(java.io.Reader r)
      Parse Local from Reader.
      Local<C> parse​(java.lang.String s)
      Parse Local from String.
      Local<C> random​(int n)
      Local random.
      Local<C> random​(int n, java.util.Random rnd)
      Local random.
      java.lang.String toScript()
      Get a scripting compatible string representation.
      java.lang.String toString()
      Get the String representation as RingFactory.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait