DenseVectorCreateRandom Method |
Create a new dense vector with values sampled from the provided random distribution.
Namespace: Altaxo.Calc.LinearAlgebra.SingleAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
DenseVectorA dense vector initialized with sampled values.
See Also