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

Commit

Permalink
TensorFreeModule.basis: Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Aug 26, 2022
1 parent 30d4eec commit d1376fd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/sage/tensor/modules/tensor_free_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,17 @@ def basis(self, symbol, latex_symbol=None, from_family=None,
r"""
Return the standard basis of ``self`` corresponding to a basis of the base module.
INPUT:
- ``symbol``, ``indices`` -- passed to he base module's method
:meth:`~sage.tensor.modules.finite_rank_free_module.FiniteRankFreeModule.basis`
to select a basis of the :meth:`base_module` of ``self``,
or to create it.
- other parameters -- passed to
:meth:`~sage.tensor.modules.finite_rank_free_module.FiniteRankFreeModule.basis`; when
the basis does not exist yet, it will be created using these parameters.
EXAMPLES::
sage: M = FiniteRankFreeModule(ZZ, 3, name='M')
Expand Down

0 comments on commit d1376fd

Please sign in to comment.