Contents

clip(_:to:)

Returns the elements of a single-precision vector clipped to the specified range.

Declaration

static func clip<U>(_ vector: U, to bounds: ClosedRange<Float>) -> [Float] where U : AccelerateBuffer, U.Element == Float

See Also

Clipping Operations