Documentation of 'jsci.maths.polynomials.Polynomial' Java class
Polynomial
jsci.maths.polynomials

Interface Polynomial

    • Method Detail

      • getCoefficient

        Field.Member getCoefficient(int k)
        Get the coefficient of degree k, i.e. a_k if P(x) := sum_{k=0}^n a_k x^k
        Parameters:
        k - degree
        Returns:
        coefficient as described above
      • getCoefficients

        Field.Member[] getCoefficients()
        Get the coefficients as an array
        Returns:
        the coefficients as an array
      • degree

        int degree()
        The degree.
        Returns:
        the degree
      • scalarDivide

        Polynomial scalarDivide(Field.Member a)
        Return a new Polynomial with coefficients divided by a
        Parameters:
        a - divisor
        Returns:
        new Polynomial with coefficients /= a
      • scalarMultiply

        Polynomial scalarMultiply(Field.Member a)
        Return a new Polynomial with coefficients multiplied by a
        Parameters:
        a - factor
        Returns:
        new Polynomial with coefficients *= a

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.