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

Safe HaskellNone
LanguageHaskell2010

Data.Random.Manifold

Synopsis

Documentation

shade :: (Distribution Shade x, D_S x) => Interior x -> Variance (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) => Interior x -> Variance (Needle x) -> RVarT m x Source

type D_S x = (WithField PseudoAffine x, SimpleSpace (Needle x)) Source

instance D_S x => Distribution Shade x

uncertainFunctionSamplesT :: forall x y m. (WithField Manifold x, SimpleSpace (Needle x), WithField Manifold y, SimpleSpace (Needle y)) => Int -> Shade x -> (x -> Shade y) -> RVarT m (x `Shaded` y) Source

uncrtFuncIntervalSpls :: (x ~ , y ~ ) => Int -> (x, x) -> (x -> (y, Diff y)) -> RVar (x `Shaded` y) Source