**'org.jscience.mathematics.function.Polynomial'**Java class

org.jscience.mathematics.function

## Class Polynomial<R extends Ring<R>>

- java.lang.Object
- org.jscience.mathematics.function.Function<R,R>
- org.jscience.mathematics.function.Polynomial<R>

- All Implemented Interfaces:
- Serializable, javolution.lang.Immutable, javolution.lang.Realtime, javolution.lang.ValueType, GroupAdditive<Polynomial<R>>, Ring<Polynomial<R>>, Structure<Polynomial<R>>

- Direct Known Subclasses:
- Constant

public class Polynomial<R extends Ring<R>>extends Function<R,R>implements Ring<Polynomial<R>>

This class represents a mathematical expression involving a sum of powers in one or more

`variables`

multiplied by coefficients (such as`x\xc2\xb2 + x\xc2\xb7y + 3y\xc2\xb2`

).Polynomials are characterized by the type of variable they operate upon. For example:

are two different polynomials, the first one operates on physical`Variable<Amount<?>> varX =`

**new**Variable.Local<Amount<?>>("x"); Polynomial<Amount<?>> x = Polynomial.valueOf(Amount.valueOf(1, SI.METER), varX); and Variable<Complex> varX =**new**Variable.Local<Complex>("x"); Polynomial<Complex> x = Polynomial.valueOf(Complex.ONE, varX);`measures`

, whereas the second operates on`complex`

numbers.Terms (others than

`ONE`

) having zero (additive identity) for coefficient are automatically removed.- See Also:
- Serialized Form

**Warning:**You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.