convertElements(of:to:rounding:)
Converts double-precision values to 8-bit unsigned integers.
Declaration
static func convertElements<U, V>(of source: U, to destination: inout V, rounding: vDSP.RoundingMode) where U : AccelerateBuffer, V : AccelerateMutableBuffer, U.Element == Double, V.Element == UInt8Parameters
- source:
The source vector.
- destination:
On output, the source values converted to integer values.
- rounding:
The rounding mode.