Click or drag to resize

VectorMathMaxOf(IReadOnlyListDouble, IReadOnlyListDouble, IVectorDouble) 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<double> MaxOf(
	IReadOnlyList<double> a,
	IReadOnlyList<double> b,
	IVector<double> result
)

Parameters

a  IReadOnlyListDouble
First vector.
b  IReadOnlyListDouble
Second vector.
result  IVectorDouble
The resulting vector.

Return Value

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