Use the given random number stream to fill a vector with random numbers which follow a particular probability distribution (to be specifed by implementing classes).

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
void Fill(
	RandomNumberStream stream,
	T[] v,
	int start,
	int n
)
Visual Basic (Declaration)
Sub Fill ( _
	stream As RandomNumberStream, _
	v As T(), _
	start As Integer, _
	n As Integer _
)
Visual C++
void Fill(
	RandomNumberStream^ stream, 
	array<T>^ v, 
	int start, 
	int n
)

Parameters

stream
Type: CenterSpace.NMath.Core..::.RandomNumberStream
Random number stream.
v
Type: array< T >[]()[]
Vector to fill.
start
Type: System..::.Int32
Index at which to start placing random deviates.
n
Type: System..::.Int32
Number of random deviates to produce.

See Also