| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Random.Manifold
- shade :: (Distribution Shade x, D_S x) => x -> HerMetric' (Needle x) -> RVar x
- shadeT :: (Distribution Shade x, D_S x) => x -> HerMetric' (Needle x) -> RVarT m x
- type D_S x = WithField ℝ Manifold x
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