 | CMATHrRand Method |
Get a random number between 0 and 1
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static double rRand(
CGXNETCore gxNetShared
)
public static double rRand(
CGXNETCore gxNetShared
)
Public Shared Function rRand (
gxNetShared As CGXNETCore
) As Double
Public Shared Function rRand (
gxNetShared As CGXNETCore
) As Double
public:
static double rRand(
CGXNETCore^ gxNetShared
)
public:
static double rRand(
CGXNETCore^ gxNetShared
)
static member rRand :
gxNetShared : CGXNETCore -> float
static member rRand :
gxNetShared : CGXNETCore -> float
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
Return Value
Type:
DoubleA real number
Remarks
Use SRand_MATH to seed the random number generator before a series of
calls to this function are made.
The standard "C" function rand() is called.
See Also