Polynomial.Modulus Method
Divides one Polynomial by another and
returns the remainder.
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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. |