Parallel Random.Fill Method
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
Overload List
| Fill( | Fills a Double array with random samples from the specified distribution. |
| Fill( | Fills an Int32 array with random samples from the specified distribution. |
Fill(IList<Double>, Int32, Int32)
Fills a Double array with random samples from the specified distribution.
public void Fill(
IList<double> samples,
int startIndex,
int length
)Parameters
Exceptions
| Argument | samples is null. |
| Argument | startIndex is less than zero. -or- length is less than zero. |
| Argument | length is greater than the number of elements from startIndex to the end of samples. |
Fill(IList<Int32>, Int32, Int32)
Fills an Int32 array with random samples from the specified distribution.
public void Fill(
IList<int> samples,
int startIndex,
int length
)Parameters
Exceptions
| Argument | samples is null. |
| Argument | startIndex is less than zero. -or- length is less than zero. |
| Argument | length is greater than the number of elements from startIndex to the end of samples. |