Safe Haskell | None |
---|---|
Language | Haskell2010 |
Tools are also provided for convex analysis, as the dual structures of convex analysis are equivalent to Riemannian manifolds with certain properties.
- class (Primal c, Manifold m) => Legendre c m where
- potential :: (c :#: m) -> Double
- potentialDifferentials :: (c :#: m) -> Differentials :#: Tangent c m
- potentialMapping :: Legendre c m => (c :#: m) -> Dual c :#: m
- divergence :: (Primal c, Legendre c m, Legendre (Dual c) m) => (c :#: m) -> (Dual c :#: m) -> Double
- legendreFlat :: (Legendre c m, Riemannian c m) => (c :#: m) -> (c :#: m) -> Dual c :#: m
Documentation
class (Primal c, Manifold m) => Legendre c m where Source
Although convex analysis is usually developed seperately from differential
geometry, it arrises naturally out of the theory of dually flat Manifold
s.
A Manifold
is Legendre
for a particular coordinated system if it is
associated with a particular convex function on points of the manifold known
as a potential
.
potential :: (c :#: m) -> Double Source
potentialDifferentials :: (c :#: m) -> Differentials :#: Tangent c m Source
Legendre c m => Legendre c (Replicated m) Source |
divergence :: (Primal c, Legendre c m, Legendre (Dual c) m) => (c :#: m) -> (Dual c :#: m) -> Double Source
Computes the divergence
between two points.
legendreFlat :: (Legendre c m, Riemannian c m) => (c :#: m) -> (c :#: m) -> Dual c :#: m Source
Applies flat
to the second input, based on the tangent space at the first input.