Click or drag to resize

DenseVectorCreateRandom Method

Create a new dense vector with values sampled from the provided random distribution.

Namespace: Altaxo.Calc.LinearAlgebra.Single
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static DenseVector CreateRandom(
	int length,
	IContinuousDistribution distribution
)

Parameters

length  Int32
The length of the vector.
distribution  IContinuousDistribution
The distribution used to sample values.

Return Value

DenseVector
A dense vector initialized with sampled values.
See Also