Click or drag to resize

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
Syntax
public static double rRand(
	CGXNETCore gxNetShared
)

public static double rRand(
	CGXNETCore gxNetShared
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore

Return Value

Type: Double
A 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