Returns the 2, raised to the power of each element in a vector of double-precision values.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 4.0+
- Xcode 11.0+
Framework
- Accelerate
Declaration
static func exp2<U>(_ vector: U) -> [Double] where U : Accelerate Buffer, U.Element == Double