Click or drag to resize

CreateVectorRandomT(Int32, IContinuousDistribution) Method

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

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Vector<T> Random<T>(
	int length,
	IContinuousDistribution distribution
)
where T : struct, new(), IEquatable<T>, IFormattable

Parameters

length  Int32

[Missing <param name="length"/> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateVector.Random``1(System.Int32,Altaxo.Calc.Distributions.IContinuousDistribution)"]

distribution  IContinuousDistribution

[Missing <param name="distribution"/> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateVector.Random``1(System.Int32,Altaxo.Calc.Distributions.IContinuousDistribution)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateVector.Random``1(System.Int32,Altaxo.Calc.Distributions.IContinuousDistribution)"]

Return Value

VectorT

[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateVector.Random``1(System.Int32,Altaxo.Calc.Distributions.IContinuousDistribution)"]

See Also