Generic Initializer

init(_:)

Creates a new vector from the given vector of floating-point values.

Declaration

init<Other>(_ other: SIMD4<Other>) where Other : BinaryFloatingPoint, Other : SIMDScalar
Available when Scalar conforms to BinaryFloatingPoint.

Parameters

other

The vector to convert.