Generic Function

pointwiseMax(_:_:)

The lanewise maximum of two vectors.

Declaration

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

Discussion

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