Contents

convertElements(of:to:rounding:)

Converts double-precision values to 8-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 == Double, V.Element == Int8

Parameters

  • source:

    The source vector.

  • destination:

    On output, the source values converted to integer values.

  • rounding:

    The rounding mode.

See Also

Type Methods