Uses of Class
org.jhotdraw8.geom.Polynomial
Packages that use Polynomial
Package
Description
Provides classes for defining and manipulating two-dimensional geometry.
-
Uses of Polynomial in org.jhotdraw8.geom
Methods in org.jhotdraw8.geom that return PolynomialModifier and TypeMethodDescriptionPolynomial.add(Polynomial that) Adds the coefficients of that polynomial to the coefficients of this polynomial and returns the resulting polynomial.Polynomial.divideScalar(double scalar) Divides the coefficients of this polynomial by the provided scalar.Polynomial.getDerivative()Returns the derivative of this polynomial.Polynomial.multiply(Polynomial that) Multiplies the coefficients of this polynomial with the coefficients of that polynomial and returns the resulting polynomial.Polynomial.simplify()Returns a simplified polynomial, by removing coefficients of the highest degrees if they have a very small absolute value.Polynomial.subtract(Polynomial that) Subtracts the coefficients of that polynomial from the coefficients of this polynomial and returns the resulting polynomial.Methods in org.jhotdraw8.geom with parameters of type PolynomialModifier and TypeMethodDescriptionPolynomial.add(Polynomial that) Adds the coefficients of that polynomial to the coefficients of this polynomial and returns the resulting polynomial.Polynomial.multiply(Polynomial that) Multiplies the coefficients of this polynomial with the coefficients of that polynomial and returns the resulting polynomial.Polynomial.subtract(Polynomial that) Subtracts the coefficients of that polynomial from the coefficients of this polynomial and returns the resulting polynomial.