threshold(_:to:with:)
Returns the elements of the supplied single-precision vector after applying a specified thresholding rule.
Declaration
static func threshold<U>(_ vector: U, to lowerBound: Float, with rule: vDSP.ThresholdRule<Float>) -> [Float] where U : AccelerateBuffer, U.Element == Float