alan-turing-institute / PDSampler.jl

Piecewise Deterministic Sampler library (Bouncy particle sampler, Zig Zag sampler, ...)
Other
33 stars 8 forks source link

add shortcut for spherical gaussians #26

Open tlienart opened 7 years ago

tlienart commented 7 years ago

At the moment we can't build an isotropic gaussian with just a float as covariance matrix, it has to be a vector of float so s*ones(d) is ok but not s.

Easy fix, would be nice to have.