Contents

square(_:)

Returns a single-precision array containing the square of each element in the supplied vector.

Declaration

static func square<U>(_ vector: U) -> [Float] where U : AccelerateBuffer, U.Element == Float

See Also

Type Methods