Generic Type Method

convertElements(of:to:)

Converts 32-bit unsigned 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 == UInt32, V.Element == Float

See Also

Single-Vector 32-Bit Integer to Floating Point Conversion

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

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

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

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

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

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

func vDSP_vflt32(UnsafePointer<Int32>, vDSP_Stride, UnsafeMutablePointer<Float>, vDSP_Stride, vDSP_Length)

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

func vDSP_vflt32D(UnsafePointer<Int32>, vDSP_Stride, UnsafeMutablePointer<Double>, vDSP_Stride, vDSP_Length)

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

func vDSP_vfltu32(UnsafePointer<UInt32>, vDSP_Stride, UnsafeMutablePointer<Float>, vDSP_Stride, vDSP_Length)

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

func vDSP_vfltu32D(UnsafePointer<UInt32>, vDSP_Stride, UnsafeMutablePointer<Double>, vDSP_Stride, vDSP_Length)

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