Generic Type Method

convertElements(of:to:)

Converts double-precision values to single-precision values.

Declaration

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

See Also

Single-Vector Precision Conversion

static func floatToDouble<U>(U) -> [Double]

Returns single-precision values converted to double-precision values.

static func doubleToFloat<U>(U) -> [Float]

Returns double-precision values converted to single-precision values.

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

Converts single-precision values to double-precision values.