Click or drag to resize

RandomUtilityGetRandomIndexByProbabilities Method (FastRandom, Double, Int32)

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public static int GetRandomIndexByProbabilities(
	FastRandom random,
	double* probabilities,
	int length
)

Parameters

random
Type: NeoAxisFastRandom
probabilities
Type: SystemDouble*
length
Type: SystemInt32

Return Value

Type: Int32
See Also