Package geometry :: Package manifolds :: Module differentiable_manifold :: Class RandomManifold
[hide private]
[frames] | no frames]

Class RandomManifold

source code


This is the base class for manifolds that have the ability to sample random points.

Nested Classes [hide private]

Inherited from DifferentiableManifold: Embedding, Isomorphism, __metaclass__

Instance Methods [hide private]
 
sample_uniform(self)
Samples a random point in this manifold according to the Haar measure.
source code
 
sample_velocity(self, a)
Samples a random velocity with length 1 at the base point a
source code

Inherited from DifferentiableManifold: __init__, assert_close, belongs, belongs_ts, can_convert_to, can_represent, convert_to, distance, embed_in, embeddable_in, expmap, friendly, from_yaml, geodesic, get_dimension, interesting_points, logmap, project_from, project_to, project_ts, relations_descriptions, tangent_bundle, to_yaml

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from DifferentiableManifold: embedding, isomorphism

Class Variables [hide private]
  __abstractmethods__ = frozenset(['belongs', 'distance', 'expma...
  _abc_cache = <_weakrefset.WeakSet object at 0x22c8550>
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

sample_uniform(self)

source code 

Samples a random point in this manifold according to the Haar measure. Raises exception if the measure is improper (e.g., R^n).

sample_velocity(self, a)

source code 

Samples a random velocity with length 1 at the base point a

:param a: :type a: ``belongs``


Class Variable Details [hide private]

__abstractmethods__

Value:
frozenset(['belongs',
           'distance',
           'expmap',
           'logmap',
           'project_ts',
           'sample_uniform',
           'sample_velocity'])