VectorMathMap(IReadOnlyListSingle, FuncSingle, 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.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void Map(
IReadOnlyList<float> src1,
Func<float, float> function,
IVector<float> result
)
Parameters
- src1 IReadOnlyListSingle
- The source vector.
- function FuncSingle, Single
- The function to apply to every element.
- result IVectorSingle
- The vector to store the results. This may or may not be the same instance as the source vector.
See Also