Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
TensorFieldModule.tensor_factors: New
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Nov 12, 2022
1 parent 610545e commit a6ba101
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/sage/manifolds/differentiable/tensorfield_module.py
Expand Up @@ -228,6 +228,12 @@ class TensorFieldModule(VectorFieldModule_abstract):
[1 0]
[0 1]
TESTS::
sage: T11.tensor_factors()
[Module X(M) of vector fields on the 2-dimensional differentiable manifold M,
Module Omega^1(M) of 1-forms on the 2-dimensional differentiable manifold M]
"""
Element = TensorField

Expand Down Expand Up @@ -288,6 +294,8 @@ def __init__(self, vector_field_module, tensor_type):
self._dest_map = dest_map
self._ambient_domain = vector_field_module._ambient_domain

tensor_factors = TensorFreeModule.tensor_factors

#### Parent methods

def _element_constructor_(self, comp=[], frame=None, name=None,
Expand Down

0 comments on commit a6ba101

Please sign in to comment.