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

Commit

Permalink
src/sage/tensor/modules/tensor_free_submodule.py: Remove tensor_facto…
Browse files Browse the repository at this point in the history
…rs, add doctest for construction
  • Loading branch information
Matthias Koeppe committed Sep 7, 2022
1 parent 7f66f96 commit 620df16
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions src/sage/tensor/modules/tensor_free_submodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,22 @@ def power_name(op, s, latex=False):
latex_name=latex_name,
category=category, ambient=ambient)

def tensor_factors(self):
raise NotImplementedError

def construction(self):
# TODO: Adapt from the code for the default name/latex_name in __init__.
# Define the symmetry group and its action (https://trac.sagemath.org/ticket/32029),
# use a construction functor for quotienting by the action
# TODO: Define the symmetry group and its action (https://trac.sagemath.org/ticket/34495),
# return the construction functor for invariant subobjects.
r"""
Return the functorial construction of ``self``.
This implementation just returns ``None``.
EXAMPLES::
sage: M = FiniteRankFreeModule(ZZ, 3, name='M')
sage: Sym2M = M.tensor_module(2, 0, sym=range(2)); Sym2M
Free module of fully symmetric type-(2,0) tensors on the Rank-3 free module M over the Integer Ring
sage: Sym2M.construction() is None
True
"""
return None

@cached_method
Expand Down

0 comments on commit 620df16

Please sign in to comment.