Click or drag to resize

FortranLibDMod Method

Summary: Returns the remainder resulting from the division of a specified number by another specified number. Parameters: y: A divisor. x: A dividend. Returns: A number equal to x - (y Q), where Q = Math.Truncate(x/y)

Namespace: DotNumerics.FortranLibrary
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static double DMod(
	double a1,
	double a2
)
Request Example View Source

Parameters

a1  Double
A divisor.
a2  Double
A dividend.

Return Value

Double
A number equal to x - (y Q), where Q = Math.Truncate(x/y)
See Also