Open
Description
When sampling from a distribution it seems that the sample!
from StatsBase is a more efficient method to use as opposed to the sampling functions based on the Distributions
package. This requires us to replace instances of sampling with the sample function.
This requires:
- Remove
Distributions
fromProject.toml
andRLinearAlgebra.jl
- Add StatsBase to
Project.toml
andimport StatsBase: sample!
- Replace any sampling procedures with the sample function.