randomArray

Create an array of n elements filled with random data. The array can be static or dynamic. If the array is dynamic, the size must be passed as a runtime argument.

  1. U randomArray()
    U
    randomArray
    (
    U : T[n]
    T
    int n
    )
    (
    )
    if (
    isScalarType!T
    )
  2. U randomArray(int n)

Meta