Click or drag to resize

FloatRandomBetaDistributionFill(RandomNumberStream, FloatVector, Int32, Int32) Method

Uses the given random number stream to fill the given vector of floats with random values.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public void Fill(
	RandomNumberStream stream,
	FloatVector v,
	int start,
	int n
)

Parameters

stream  RandomNumberStream
Random number stream.
v  FloatVector
Vector to fill.
start  Int32
Index at which to start placing random deviates.
n  Int32
Number of random deviates to produce.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if n + start exceeds the length of the given vector or if the vector has stride is not equal to one.
Remarks
v must be initialized before calling this method.
See Also