Click or drag to resize

IntegerArrayRandom Method (Int32, Int32)

Creates the IntegerArray of given size and fill it with uniform distributed non-negative integers less than specified value.

Namespace:  FinMath.DataStructures
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public static IntegerArray Random(
	int size,
	int maxValue
)

Parameters

size
Type: SystemInt32
The size of IntegerArray to create.
maxValue
Type: SystemInt32
The inclusive upper bound for uniform distribution.

Return Value

Type: IntegerArray
The created IntegerArray.
See Also