Contents

init(arrayLiteral:)

Creates a vector from the specified elements.

Declaration

init(arrayLiteral scalars: Self.Scalar...)

Parameters

  • scalars:

    The elements to use in the vector. scalars must have the same number of elements as the vector type.