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#
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.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Polynomial Modulus(
Polynomial polynomial1,
Polynomial polynomial2
)
Parameters
- polynomial1 Polynomial
- The first polynomial.
- polynomial2 Polynomial
- The second polynomial.
Return Value
PolynomialA 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
Argument | polynomial1 is null.
-or- polynomial2 is null. |