clip(_:to:)
Returns the elements of a double-precision vector clipped to the specified range.
Declaration
static func clip<U>(_ vector: U, to bounds: ClosedRange<Double>) -> [Double] where U : AccelerateBuffer, U.Element == DoubleReturns the elements of a double-precision vector clipped to the specified range.
static func clip<U>(_ vector: U, to bounds: ClosedRange<Double>) -> [Double] where U : AccelerateBuffer, U.Element == Double