Contents

init(count:data:)

Creates a new vector of single-precision values.

Declaration

init(count: Int32, data: UnsafeMutablePointer<Float>)

Parameters

  • count:

    The number of items in the vector.

  • data:

    The array of single-precision, floating-point values.