Contents

integerToFloatingPoint(_:floatingPointType:)

Returns a vector of floating-point values converted from signed 8-bit integer values.

Declaration

static func integerToFloatingPoint<T, U>(_ vector: T, floatingPointType: U.Type) -> [U] where T : AccelerateBuffer, U : vDSP_FloatingPointConvertable, T.Element == Int8

Parameters

  • vector:

    The source vector.

  • floatingPointType:

    The floating-point type that the function converts the source values to.

See Also

Type Methods