Constructors for randomized arrays:
rand integration for
RandomExt for usage examples.
ndarray-rand depends on
If you want to use a random number generator or distribution from another crate
ndarray-rand, you need to make sure that the other crate also depends on the
same version of
rand. Otherwise, the compiler will return errors saying
that the items are not compatible (e.g. that a type doesn’t implement a
A wrapper type that allows casting f64 distributions to f32
Constructors for n-dimensional arrays with random elements.