Generic Type Method


Returns a vector with random values from within the specified range in all lanes, using the given generator as a source for randomness.


static func random<T>(in range: ClosedRange<Scalar>, using generator: inout T) -> SIMD16<Scalar> where T : RandomNumberGenerator
Available when Scalar conforms to BinaryFloatingPoint and Scalar.RawSignificand conforms to FixedWidthInteger.