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.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
IVectorDoubleThe same instance as provided by result. Each element result[i] is the maximum of a[i] and b[i].
See Also