 | CMATHrMod Method |
Calculates the modulus of two reals (A mod B)
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static double rMod(
CGXNETCore gxNetShared,
double a,
double b
)
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 Shared Function rMod (
gxNetShared As CGXNETCore,
a As Double,
b As Double
) As Double
public:
static double rMod(
CGXNETCore^ gxNetShared,
double a,
double b
)
public:
static double rMod(
CGXNETCore^ gxNetShared,
double a,
double b
)
static member rMod :
gxNetShared : CGXNETCore *
a : float *
b : float -> float
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
Remarks
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.
See Also