Contents

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 == Double

See Also

Clipping Operations