Click or drag to resize
CMATHrMod Method
Calculates the modulus of two reals (A mod B)

Available since Oasis montaj version: 6.0.1
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
The modulus of A with respect to B is defined as the difference of A with the largest integral multiple of B smaller than or equal to A. e.g. A mod B 20 mod 10 = 0 20 mod 9 = 2 f A or B is a dummy, returns dummy.
Syntax
public static double rMod(
	CGXNETCore gxNetShared,
	double a,
	double b
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
a
Type: SystemDouble
A
b
Type: SystemDouble
B (must not be zero)

Return Value

Type: Double
Real
See Also