The number of white noise samples to generate.
result: A double array containing n randomly generated values uniformly distributed between -1.0 and 1.0.
Notes: - The function uses Random(unpredictableSeed) for randomness, ensuring different sequences in each execution. - The values are generated using the uniform distribution uniform!"[]"(-1.0f, 1.0f, rnd). - The function grows the array dynamically using result ~= to!double(b), which may cause memory reallocation. If performance is a concern, preallocating the array may be more efficient. - White noise is commonly used in signal processing, time series analysis, and stochastic simulations. - If a Gaussian (normal) distribution is needed instead, consider using a normal distribution function such as normalDistribution(mean, stdDev, rnd).
Summary: Generates an array of white noise values uniformly distributed in the range [-1.0, 1.0]. White noise consists of random values with a mean of approximately zero and no discernible pattern.