Generic Type Method

convertElements(of:to:)

Converts 16-bit signed integers to single-precision values.

Declaration

static func convertElements<U, V>(of source: U, to destination: inout V) where U : AccelerateBuffer, V : AccelerateMutableBuffer, U.Element == Int16, V.Element == Float

See Also

Single-Vector 16-Bit Integer to Floating Point Conversion

static func convertElements<U, V>(of: U, to: inout V)

Converts 16-bit signed integers to double-precision values.

static func convertElements<U, V>(of: U, to: inout V)

Converts 16-bit unsigned integers to double-precision values.

static func convertElements<U, V>(of: U, to: inout V)

Converts 16-bit unsigned integers to single-precision values.

func vDSP_vflt16(UnsafePointer<Int16>, vDSP_Stride, UnsafeMutablePointer<Float>, vDSP_Stride, vDSP_Length)

Converts an array of signed 16-bit integers to single-precision floating-point values.

func vDSP_vflt16D(UnsafePointer<Int16>, vDSP_Stride, UnsafeMutablePointer<Double>, vDSP_Stride, vDSP_Length)

Converts an array of signed 16-bit integers to double-precision floating-point values.

func vDSP_vfltu16(UnsafePointer<UInt16>, vDSP_Stride, UnsafeMutablePointer<Float>, vDSP_Stride, vDSP_Length)

Converts an array of unsigned 16-bit integers to single-precision floating-point values.

func vDSP_vfltu16D(UnsafePointer<UInt16>, vDSP_Stride, UnsafeMutablePointer<Double>, vDSP_Stride, vDSP_Length)

Converts an array of unsigned 16-bit integers to double-precision floating-point values.