Polynomial.Modulus Method

Divides one Polynomial by another and returns the remainder.

Definition

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static Polynomial Modulus(
	Polynomial polynomial1,
	Polynomial polynomial2
)

Parameters

polynomial1  Polynomial
The first polynomial.
polynomial2  Polynomial
The second polynomial.

Return Value

Polynomial
A polynomial of degree smaller than the degree of polynomial2, so that when it is subtracted from polynomial1, the result is exactly divisible by polynomial2.

Exceptions

ArgumentNullExceptionpolynomial1 is null.

-or-

polynomial2 is null.

See Also