Click or drag to resize

RandomUtilityGetRandomIndexByProbabilities Method (FastRandom, ArraySegmentDouble)

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,
	ArraySegment<double> probabilities
)

Parameters

random
Type: NeoAxisFastRandom
probabilities
Type: SystemArraySegmentDouble

Return Value

Type: Int32
See Also