Contents

log(_:result:)

Calculates the natural logarithm for each element in a vector of single-precision values.

Declaration

static func log<U, V>(_ vector: U, result: inout V) where U : AccelerateBuffer, V : AccelerateMutableBuffer, U.Element == Float, V.Element == Float

Parameters

  • vector:

    The input vector.

  • result:

    The output vector.

See Also

Array-Oriented Exponential and Logarithmic Functions