Polynomial<T>.Modulus Method
Divides one Polynomial<T> by another and
returns the remainder.
Definition
Namespace: Numerics.NET.Curves.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
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.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
public static Polynomial<T> Modulus(
Polynomial<T> polynomial1,
Polynomial<T> polynomial2
)
Parameters
- polynomial1 Polynomial<T>
- The first polynomial.
- polynomial2 Polynomial<T>
- The second polynomial.
Return Value
Polynomial<T>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
Argument | polynomial1 is null.
-or- polynomial2 is null. |