manifold-random-0.1.1.0: Sampling random points on general manifolds.

Safe HaskellNone
LanguageHaskell2010

Data.Random.Manifold

Synopsis

Documentation

shade :: (Distribution Shade x, D_S x) => x -> HerMetric' (Needle x) -> RVar x Source

A shade can be considered a specification for a generalised normal distribution.

If you use rvar to sample a large number of points from a shade sh in a sufficiently flat space, then pointsShades of that sample will again be approximately [sh].

shadeT :: (Distribution Shade x, D_S x) => x -> HerMetric' (Needle x) -> RVarT m x Source

type D_S x = WithField Manifold x Source

instance D_S x => Distribution Shade x