| RandGenMTwistFill(Int32, Int32, Boolean) Method |
Fills the given array of integers with random values.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public void Fill(
int[] v,
int maxValue,
bool duplicates
)
Public Sub Fill (
v As Integer(),
maxValue As Integer,
duplicates As Boolean
)
public:
void Fill(
array<int>^ v,
int maxValue,
bool duplicates
)
member Fill :
v : int[] *
maxValue : int *
duplicates : bool -> unit
Parameters
- v Int32
- An array.
- maxValue Int32
- The maximum value. Must be greater than zero.
- duplicates Boolean
- Allow duplicates.
Remarks v must be initialized before calling this method.
See Also