FunctionSwift

pointwiseMax(_:_:)

The lanewise maximum of two vectors.

func pointwiseMax<T>(_ a: T, _ b: T) -> T where T : SIMD, T.Scalar : FloatingPoint

Overview

Each element of the result is the maximum of the corresponding elements of the inputs.