Coefficients
edu.jas.ps

Class Coefficients<C extends RingElem<C>>

  • Type Parameters:
    C - ring element type
    All Implemented Interfaces:
    Serializable


    public abstract class Coefficients<C extends RingElem<C>>extends Objectimplements Serializable
    Abstract class for generating functions for coefficients of power series. Was an interface, now this class handles the caching itself.
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • Coefficients

        public Coefficients()
        Public no arguments constructor.
      • Coefficients

        public Coefficients(HashMap<Integer,C> cache)
        Public constructor with pre-filled cache.
        Parameters:
        cache - pre-filled coefficient cache.
    • Method Detail

      • get

        public C get(int index)
        Get cached coefficient or generate coefficient.
        Parameters:
        index - of requested coefficient.
        Returns:
        coefficient at index.

SCaVis 2.1 © jWork.ORG