Package geometry :: Package manifolds :: Module torus :: Class Torus
[hide private]
[frames] | no frames]

Class Torus

source code


Nested Classes [hide private]

Inherited from differentiable_manifold.DifferentiableManifold: Embedding, Isomorphism, __metaclass__

Instance Methods [hide private]
 
__init__(self, n)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__repr__(self)
repr(x)
source code
 
belongs(self, a)
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, a)
Returns a friendly description string for a point on the manifold.
source code
 
interesting_points(self)
:rtype: ``list(belongs)``
source code
 
logmap(self, a, b)
:param a: :type a: ``belongs``
source code
 
normalize(self, x) source code
 
project_ts(self, bv)
:param bv: :type bv: ``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 0x2492210>
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, n)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

belongs(self, a)

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, a)

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, a, b)

source code 

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

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

:rtype: ``belongs_ts``

Overrides: differentiable_manifold.DifferentiableManifold.logmap

project_ts(self, bv)

source code 

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

Overrides: differentiable_manifold.DifferentiableManifold.project_ts