Contents

vvpowsf(_:_:_:_:)

Calculates, element-wise, x**y for a vector x and a scalar y.

Declaration

func vvpowsf(_: UnsafeMutablePointer<Float>, _: UnsafePointer<Float>, _: UnsafePointer<Float>, _: UnsafePointer<Int32>)

Parameters

z

(output) Output vector of size *n. z[i] is set to pow(x[i], y).

y

(input) Input scalar, exponent in calculation.

x

(input) Input vector of size *n, base in calculation.

n

(input) The number of elements in the vectors x, y and z

See Also

Exponential and Logarithmic Functions (from vfp.h)