Click or drag to resize

DenseVectorCreate(Int32, FuncInt32, Single) Method

Create a new dense vector and initialize each value using the provided init function.

Namespace: Altaxo.Calc.LinearAlgebra.Single
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static DenseVector Create(
	int length,
	Func<int, float> init
)

Parameters

length  Int32
The length of the vector.
init  FuncInt32, Single
The initialization function.

Return Value

DenseVector
A dense vector initialized by init.
See Also