Contents

threshold(_:to:with:)

Returns the elements of the supplied double-precision vector after applying a specified thresholding rule.

Declaration

static func threshold<U>(_ vector: U, to lowerBound: Double, with rule: vDSP.ThresholdRule<Double>) -> [Double] where U : AccelerateBuffer, U.Element == Double

See Also

Threshold Operations