Contents

init(_:)

Creates a vector from the given sequence.

Declaration

init<S>(_ scalars: S) where S : Sequence, Self.Scalar == S.Element

Parameters

  • scalars:

    The elements to use in the vector.

Discussion