RandomMatrices.jl
RandomMatrices.jl copied to clipboard
Random matrices package for Julia
Maybe I'm just being stupid, but the readme makes it sound like `HaarMatrix` is a command that I can run. But appears nowhere in the source! (Let alone exported)
This PR enables the use of a local random number generator (via the `rng` argument) for generating Haar measure matrices, allowing for reproducible results when a specific seed is provided....
Comes from `chi` function: ``` function bidrand(d::GaussianLaguerre, m::Integer) if d.a
Could probably just do `correct::Int = 1` instead. This should be a kwarg rather than an optional argument too.
This will be valuable for tests that pass stable random numbers generated from StableRNGs.jl.
The type definitions for `Ginibre`, `GaussianHermite`, `GaussianJacobi`, `Ginibre`, and `Haar` are wonky, and they could all become parametric immutable types instead. Below, I list their definitions and suggest improvements, some...
The arguments `a` and `b` aren't needed because `GaussianJacobi` types have the fields `d.a` and `d.b`.
While writing docstrings for `rand` methods I found this: ``` julia> rand(GaussianLaguerre(2, 1.0), (3, 3)) ERROR: UndefVarError: `a` not defined in `RandomMatrices` Suggestion: check for spelling errors or missing imports....
The documentation for this useful package seems to be lacking and somewhat misleading, see e.g., #85 #57 #15. I'm interested in contributing to RandomMatrices, and would like to learn its...