Click or drag to resize

VectorMathMaxOf(IReadOnlyListSingle, IReadOnlyListSingle, IVectorSingle) Method

Gives the parallel maximum of vector a and b. The first element of the resulting vector is the maximum of the first element of a and the first element of b. The second element of the resulting vector is the maximum of the second element of a and the second element of b, and so on.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IVector<float> MaxOf(
	IReadOnlyList<float> a,
	IReadOnlyList<float> b,
	IVector<float> result
)

Parameters

a  IReadOnlyListSingle
First vector.
b  IReadOnlyListSingle
Second vector.
result  IVectorSingle
The resulting vector.

Return Value

IVectorSingle
The same instance as provided by result. Each element result[i] is the maximum of a[i] and b[i].
See Also