Contents

clip(_:to:result:)

Calculates the elements of a double-precision vector clipped to the specified range.

Declaration

static func clip<U, V>(_ vector: U, to bounds: ClosedRange<Double>, result: inout V) where U : AccelerateBuffer, V : AccelerateMutableBuffer, U.Element == Double, V.Element == Double

See Also

Clipping Operations