random(in:)

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

Declaration

static func random(in range: ClosedRange<Self.Scalar>) -> Self