Documentation of 'edu.jas.ps.UnivPowerSeriesRing' Java class
UnivPowerSeriesRing
edu.jas.ps

Class UnivPowerSeriesRing<C extends RingElem<C>>

    • Constructor Detail

      • UnivPowerSeriesRing

        public UnivPowerSeriesRing(RingFactory<C> coFac)
        Constructor.
        Parameters:
        coFac - coefficient ring factory.
      • UnivPowerSeriesRing

        public UnivPowerSeriesRing(RingFactory<C> coFac,
                                   int truncate)
        Constructor.
        Parameters:
        coFac - coefficient ring factory.
        truncate - index of truncation.
      • UnivPowerSeriesRing

        public UnivPowerSeriesRing(RingFactory<C> coFac,
                                   java.lang.String name)
        Constructor.
        Parameters:
        coFac - coefficient ring factory.
        name - of the variable.
      • UnivPowerSeriesRing

        public UnivPowerSeriesRing(GenPolynomialRing<C> pfac)
        Constructor.
        Parameters:
        pfac - polynomial ring factory.
      • UnivPowerSeriesRing

        public UnivPowerSeriesRing(RingFactory<C> cofac,
                                   int truncate,
                                   java.lang.String name)
        Constructor.
        Parameters:
        cofac - coefficient ring factory.
        truncate - index of truncation.
        name - of the variable.
    • Method Detail

      • toString

        public java.lang.String toString()
        To String.
        Overrides:
        toString in class java.lang.Object
        Returns:
        string representation of this.
      • equals

        public boolean equals(java.lang.Object B)
        Comparison with any other object.
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • hashCode

        public int hashCode()
        Hash code for this .
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • getEXP

        public UnivPowerSeries<C> getEXP()
        Get the power series of the exponential function.
        Returns:
        exp(x) as UnivPowerSeries.
      • getSIN

        public UnivPowerSeries<C> getSIN()
        Get the power series of the sinus function.
        Returns:
        sin(x) as UnivPowerSeries.
      • getCOS

        public UnivPowerSeries<C> getCOS()
        Get the power series of the cosine function.
        Returns:
        cos(x) as UnivPowerSeries.
      • getTAN

        public UnivPowerSeries<C> getTAN()
        Get the power series of the tangens function.
        Returns:
        tan(x) as UnivPowerSeries.
      • solveODE

        public UnivPowerSeries<C> solveODE(UnivPowerSeries<C> f,
                                           C c)
        Solve an ordinary differential equation. y' = f(y) with y(0) = c.
        Parameters:
        f - a UnivPowerSeries.
        c - integration constant.
        Returns:
        f.integrate(c).
      • polyRing

        public GenPolynomialRing<C> polyRing()
        Get the corresponding GenPolynomialRing<C>.
        Returns:
        GenPolynomialRing<C>.
      • fromPolynomial

        public UnivPowerSeries<C> fromPolynomial(GenPolynomial<C> a)
        Get a UnivPowerSeries<C> from a GenPolynomial<C>.
        Parameters:
        a - GenPolynomial<C>.
        Returns:
        a UnivPowerSeries<C>.
      • random

        public UnivPowerSeries<C> random()
        Generate a random power series with k = 5, d = 0.7.
        Returns:
        a random power series.
      • random

        public UnivPowerSeries<C> random(int k,
                                         java.util.Random rnd)
        Generate a random power series with d = 0.7.
        Specified by:
        random in interface ElemFactory<UnivPowerSeries<C extends RingElem<C>>>
        Parameters:
        k - bit-size of random coefficients.
        rnd - is a source for random bits.
        Returns:
        a random power series.
      • random

        public UnivPowerSeries<C> random(int k,
                                         float d)
        Generate a random power series.
        Parameters:
        k - bit-size of random coefficients.
        d - density of non-zero coefficients.
        Returns:
        a random power series.
      • random

        public UnivPowerSeries<C> random(int k,
                                         float d,
                                         java.util.Random rnd)
        Generate a random power series.
        Parameters:
        k - bit-size of random coefficients.
        d - density of non-zero coefficients.
        rnd - is a source for random bits.
        Returns:
        a random power series.
      • seriesOfTaylor

        public UnivPowerSeries<C> seriesOfTaylor(TaylorFunction<C> f,
                                                 C a)
        Taylor power series.
        Parameters:
        f - function.
        a - expansion point.
        Returns:
        Taylor series of f.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.