floatingPointToInteger(_:integerType:rounding:)
Returns double-precision values converted to integer values.
Declaration
static func floatingPointToInteger<T, U>(_ vector: T, integerType: U.Type, rounding: vDSP.RoundingMode) -> [U] where T : AccelerateBuffer, U : vDSP_IntegerConvertable, T.Element == DoubleParameters
- vector:
The source vector.
- integerType:
The integer type that the function converts the source values to.
- rounding:
The rounding mode.