Click or drag to resize

RandomUtilityGetRandomIndexByProbabilities Method (FastRandom, Double)

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static int GetRandomIndexByProbabilities(
	FastRandom random,
	double[] probabilities
)

Parameters

random
Type: NeoAxisFastRandom
probabilities
Type: SystemDouble

Return Value

Type: Int32
See Also