Polynomial.Divide Method

Definition

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Divide(Polynomial, Polynomial)

Divides one Polynomial by another.
C#
public static Polynomial Divide(
	Polynomial polynomial1,
	Polynomial polynomial2
)

Parameters

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

Return Value

Polynomial
A polynomial that, when multiplied by polynomial2 results in a polynomial that differs from polynomial1 only in the coefficients of degree smaller than the degree of polynomial2.

Exceptions

ArgumentNullExceptionpolynomial1 is null.

-or-

polynomial2 is null.

Divide(Polynomial, Polynomial, Polynomial)

Divides one Polynomial by another.
C#
public static Polynomial Divide(
	Polynomial polynomial1,
	Polynomial polynomial2,
	out Polynomial remainder
)

Parameters

polynomial1  Polynomial
The first polynomial.
polynomial2  Polynomial
The second polynomial.
remainder  Polynomial
On exit, a Polynomial containing the remainder of the division.

Return Value

Polynomial
A polynomial that, when multiplied by polynomial2 results in a polynomial that differs from polynomial1 only in the coefficients of degree smaller than the degree of polynomial2.

Exceptions

ArgumentNullExceptionpolynomial1 is null.

-or-

polynomial2 is null.

See Also