IEuclideanRingOperations<T>.DivideWithRemainder Method

Returns the quotient and remainder when dividing one value by another.

Definition

Namespace: Extreme.Mathematics.Generic
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
T DivideWithRemainder(
	T a,
	T b,
	out T c
)

Parameters

a  T
The dividend.
b  T
The divisor.
c  T
On return, the remainder after dividing a by b. The remainder has the same sign as the dividend, a.

Return Value

T
The quotient of a and b. The quotient is always rounded towards zero.

See Also