bregman package
Subpackages
- bregman.application package
- bregman.ball package
- bregman.barycenter package
- bregman.dissimilarity package
- bregman.manifold package
- bregman.object package
- bregman.visualizer package
Submodules
bregman.base module
- class bregman.base.BregmanObject
Bases:
objectAbstract object used to identify pyBregMan objects. Utilized in identifying objects which can be potentially visualized.
- class bregman.base.CoordObject(coords: Coords)
Bases:
BregmanObjectObject in pyBregMan which have coordinate type attached to the object. Typically associated with something geometrically defined in a specific coordinate system.
- Parameters:
coords – Coordinate type that the object is defined in.
- class bregman.base.Coords(coords_name: str)
Bases:
objectCoordinate class. Used to define different types of coordinates utilized by BregmanManifolds.
- Parameters:
coords_name – Name of the defined coordinate type.
- coords_name: str
- class bregman.base.Curve
Bases:
BregmanObject,ABCAbstract curve object.
Parameterization is assumed to be defined for t in [0, 1].
- class bregman.base.DisplayPoint(point: Point)
Bases:
ABC,PointSpecialized point class which has additional pretty printing options.
- abstract display() str
Generated pretty printed string on display.
- Returns:
String representing point.
- class bregman.base.DualCoords(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
EnumCoordinate type specific for the dually flat coordinates of Bregman manifolds. Mainly used to restrict coordinate type specification for geometric object definitions when they are only defined for the \(\theta\)- / \(\eta\)-coordinates.
- Parameters:
THETA – \(\theta\)-coordinates.
ETA – \(\eta\)-coordinates.
- ETA = Coords(coords_name='eta')
- THETA = Coords(coords_name='theta')
- dual()
Calculate dual / opposite type for current dual type.
- Returns:
Return the dual of the current coordinate.
- class bregman.base.Point(coords: Coords, data: ndarray)
Bases:
CoordObjectBasic class corresponding to points on a manifold. A point has data defined in a specific coordinate type / system.
- Parameters:
data – Data of point in the specified coordinate type.
- data: ndarray