IEuclidean Ring Operations<T>.Divide With Remainder 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.3
C#
The quotient of a and b. The quotient is always rounded towards zero.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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
TThe quotient of a and b. The quotient is always rounded towards zero.