Generic Type Method

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 == Double

See Also

Single-Vector Floating Point to Integer Conversion