Generic Type Method

pow(bases:exponents:)

Returns each single-precision element in the bases vector, raised to the power of the corresponding element in the exponents vector.

Declaration

static func pow<U, V>(bases: U, exponents: V) -> [Float] where U : AccelerateBuffer, V : AccelerateMutableBuffer, U.Element == Float, V.Element == Float

See Also

Array-Oriented Power Functions

static func pow<U, V>(bases: U, exponents: V) -> [Double]

Returns each double-precision element in the bases vector, raised to the power of the corresponding element in the exponents vector.

static func pow<T, U, V>(bases: T, exponents: U, result: inout V)

Calculates each double-precision element in the bases vector, raised to the power of the corresponding element in the exponents vector.

static func pow<T, U, V>(bases: T, exponents: U, result: inout V)

Calculates each single-precision element in the bases vector, raised to the power of the corresponding element in the exponents vector.

func vvpow(UnsafeMutablePointer<Double>, UnsafePointer<Double>, UnsafePointer<Double>, UnsafePointer<Int32>)

Raises each element in an array to the power of the corresponding element in a second array of double-precision values.

func vvpowf(UnsafeMutablePointer<Float>, UnsafePointer<Float>, UnsafePointer<Float>, UnsafePointer<Int32>)

Raises each element in an array to the power of the corresponding element in a second array of single-precision values.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software