1 from . import DifferentiableManifold, contract
5 ''' This class represents the tangent bundle of a generic manifold
6 using a tuple (base, vel) where vel is tangent at base.
7
8 (MatrixLieGroup has different representation)
9 '''
10
11
12
17
19 return "T%s" % self.base
20
23
25
26 raise ValueError('Not supported')
27
29
30 raise ValueError('Not supported')
31
32 @contract(a='belongs', b='belongs', returns='>=0')
34
35
36 raise ValueError('Not supported')
37
38 @contract(base='belongs', p='belongs', returns='belongs_ts')
40 raise ValueError('Not supported')
41
42 @contract(bv='belongs_ts', returns='belongs')
44 raise ValueError('Not supported')
45
46 @contract(returns='list(belongs)')
50
51 @contract(a='belongs')
53 '''
54 Returns a friendly description string for a point on the manifold.
55 '''
56 return "%s" % a
57