Click or drag to resize

CreateVectorRandomT(Int32, Int32) Method

Create a new dense vector with values sampled from the standard distribution with a system random source.

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

Parameters

length  Int32
The length of the vector to create.
seed  Int32
The random seed.

Type Parameters

T
The element type of the vector.

Return Value

VectorT
The created vector.
See Also