Hello,
I would like to know how to generate a static array with a uniform distribution (-2, 2).
Here is an example:
using StaticArrays
using Distributions
@SVector(randn(5)) # works
rand(Uniform(-2, 2), 5) # works
@SVector(rand(Uniform(-2, 2), 5)) # does not work