Click or drag to resize

VectorMathMapT1(IReadOnlyListSingle, T1, FuncSingle, T1, Single, IVectorSingle) Method

Elementwise application of a function to each element of a vector. The result is stored in another vector or in the same vector.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void Map<T1>(
	IReadOnlyList<float> src1,
	T1 parameter1,
	Func<float, T1, float> function,
	IVector<float> result
)

Parameters

src1  IReadOnlyListSingle
The source vector.
parameter1  T1
An auxillary parameter.
function  FuncSingle, T1, Single
The function to apply to every element. 1st arg is the element of vector src1, 2nd argument is the auxillary parameter1.
result  IVectorSingle
The vector to store the results. This may or may not be the same instance as the source vector.

Type Parameters

T1

[Missing <typeparam name="T1"/> documentation for "M:Altaxo.Calc.LinearAlgebra.VectorMath.Map``1(System.Collections.Generic.IReadOnlyList{System.Single},``0,System.Func{System.Single,``0,System.Single},Altaxo.Calc.LinearAlgebra.IVector{System.Single})"]

See Also