Package geometry :: Package manifolds :: Module sphere :: Class Sphere
[hide private]
[frames] | no frames]

Class Sphere

source code


These are hyperspheres of unit radius.

Nested Classes [hide private]

Inherited from differentiable_manifold.DifferentiableManifold: Embedding, Isomorphism, __metaclass__

Instance Methods [hide private]
 
__init__(self, order)
:param order: :type order: ``1|2``
source code
 
__repr__(self)
repr(x)
source code
 
belongs(self, x)
Raises an Exception if the point does not belong to this manifold.
source code
 
distance(self, a, b)
:param a: :type a: ``belongs``
source code
 
expmap(self, bv)
:param bv: :type bv: ``belongs_ts``
source code
 
friendly(self, x)
Returns a friendly description string for a point on the manifold.
source code
 
interesting_points(self)
:rtype: ``list(belongs)``
source code
 
logmap(self, base, target)
:param base: :type base: ``belongs``
source code
 
project_ts(self, bve)
:param bve: :type bve: ``tuple(belongs,*)``
source code
 
sample_uniform(self)
:rtype: ``belongs``
source code

Inherited from differentiable_manifold.DifferentiableManifold: assert_close, belongs_ts, can_convert_to, can_represent, convert_to, embed_in, embeddable_in, from_yaml, geodesic, get_dimension, project_from, project_to, relations_descriptions, tangent_bundle, to_yaml

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

Static Methods [hide private]

Inherited from differentiable_manifold.DifferentiableManifold: embedding, isomorphism

Class Variables [hide private]
  __abstractmethods__ = frozenset([])
  _abc_cache = <_weakrefset.WeakSet object at 0x248a750>
  atol_geodesic_distance = 1e-08
  norm_rtol = 1e-05
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, order)
(Constructor)

source code 

:param order: :type order: ``1|2``

Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

belongs(self, x)

source code 

Raises an Exception if the point does not belong to this manifold.

This function wraps some checks around :py:func:`belongs_`, which is implemented by the subclasses.

Overrides: differentiable_manifold.DifferentiableManifold.belongs
(inherited documentation)

distance(self, a, b)

source code 

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

:param b: :type b: ``belongs``

:rtype: ``>=0``

Overrides: differentiable_manifold.DifferentiableManifold.distance

expmap(self, bv)

source code 

:param bv: :type bv: ``belongs_ts``

:rtype: ``belongs``

Overrides: differentiable_manifold.DifferentiableManifold.expmap

friendly(self, x)

source code 

           Returns a friendly description string for a point on the manifold. 
       


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

Overrides: differentiable_manifold.DifferentiableManifold.friendly
(inherited documentation)

interesting_points(self)

source code 

:rtype: ``list(belongs)``

Overrides: differentiable_manifold.DifferentiableManifold.interesting_points

logmap(self, base, target)

source code 

:param base: :type base: ``belongs``

:param target: :type target: ``belongs``

:rtype: ``belongs_ts``

Overrides: differentiable_manifold.DifferentiableManifold.logmap

project_ts(self, bve)

source code 

:param bve: :type bve: ``tuple(belongs,*)``

Overrides: differentiable_manifold.DifferentiableManifold.project_ts