Contents

nearestInteger(_:)

Returns the nearest integer to each element in a vector of double-precision values.

Declaration

static func nearestInteger<U>(_ vector: U) -> [Double] where U : AccelerateBuffer, U.Element == Double

See Also

Array-Oriented Arithmetic and Auxiliary Functions