IEuclideanRingOperations<T>.DivideWithRemainder Method

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

Definition

Namespace: Numerics.NET.Generic
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
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