init(_:)
Creates a vector from the given sequence.
Declaration
init<S>(_ scalars: S) where S : Sequence, Self.Scalar == S.ElementParameters
- scalars:
The elements to use in the vector.
Creates a vector from the given sequence.
init<S>(_ scalars: S) where S : Sequence, Self.Scalar == S.ElementThe elements to use in the vector.