| 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.GXNetXAssembly: 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
)
Public Shared Function rMod (
gxNetShared As CGXNETCore,
a As Double,
b As Double
) As Double
public:
static double rMod(
CGXNETCore^ gxNetShared,
double a,
double b
)
static member rMod :
gxNetShared : CGXNETCore *
a : float *
b : float -> float
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - a
- Type: SystemDouble
A - b
- Type: SystemDouble
B (must not be zero)
Return Value
Type:
DoubleReal
See Also