Type Method

random(in:)

Returns a vector with random values from within the specified range in all lanes.

Declaration

static func random(in range: ClosedRange<Scalar>) -> SIMD2<Scalar>
Available when Scalar conforms to FixedWidthInteger.