Click or drag to resize

VectorMathMap(Int32, FuncInt32, Int32, Int32) 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(
	int[] src1,
	Func<int, int> function,
	int[] result
)

Parameters

src1  Int32
The source vector.
function  FuncInt32, Int32
The function to apply to every element.
result  Int32
The vector to store the results. This may or may not be the same instance as the source vector.
See Also