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