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 == FloatReturns the elements of a single-precision vector clipped to the specified range.
static func clip<U>(_ vector: U, to bounds: ClosedRange<Float>) -> [Float] where U : AccelerateBuffer, U.Element == Float