Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sage.algebras: Update # needs, modularization fixes, doctest cosmetics #36642

Merged
merged 27 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
4ac814a
sage.algebras: Add # optional
mkoeppe May 15, 2023
ce22627
Massive modularization fixes
mkoeppe May 17, 2023
c6b3d57
sage.algebras: Add # optional
mkoeppe Jun 2, 2023
6b25b45
sage.algebras: Modularization fixes
mkoeppe Jun 4, 2023
1bddc6b
More # optional
mkoeppe Jun 9, 2023
c78b53c
sage.algebras: More # optional
mkoeppe Jun 11, 2023
4fef2a5
More # optional
mkoeppe Jun 11, 2023
a9fdb22
src/sage/algebras/free_algebra.py: Use lazy_import
mkoeppe Jun 12, 2023
445721d
More # optional
mkoeppe Jun 12, 2023
aa70cd7
More # optional
mkoeppe Jun 13, 2023
017f8bf
./sage -fixdoctests --long --distribution 'sagemath-modules' --probe …
mkoeppe Jul 1, 2023
6f70445
./sage -fixdoctests --long --distribution 'sagemath-modules' --only-t…
mkoeppe Jul 2, 2023
88c05fd
sage.algebras: Update # optional / # needs
mkoeppe Jul 2, 2023
6857ee2
src/sage/algebras: Update file-level doctest tag
mkoeppe Aug 7, 2023
63aba20
src/sage/algebras: sage -fixdoctests --only-tags
mkoeppe Aug 8, 2023
28588b7
Add # needs
mkoeppe Aug 13, 2023
78dfa45
src/sage/algebras/schur_algebra.py: Update # needs
mkoeppe Sep 2, 2023
b528606
src/sage/algebras: Add file-level tags; src/sage/rings/finite_rings: …
mkoeppe Sep 3, 2023
26fc818
src/sage/algebras/steenrod/steenrod_algebra_bases.py: Update # needs,…
mkoeppe Sep 3, 2023
a20a928
sage.algebras: Docstring cosmetics, update # needs
mkoeppe Sep 3, 2023
8f795cc
src/sage/algebras/lie_algebras/lie_algebra_element.pyx: # needs
mkoeppe Sep 3, 2023
d2e559e
src/sage/algebras/cluster_algebra.py: Restore lost # random
mkoeppe Nov 4, 2023
df17d12
src/sage/algebras/orlik_solomon.py: Fix doctest fix
mkoeppe Nov 4, 2023
ffa0785
Merge remote-tracking branch 'upstream/develop' into needs_for_sage_a…
mkoeppe Nov 5, 2023
e1874f9
Merge tag '10.2.rc2' into needs_for_sage_algebras
mkoeppe Nov 12, 2023
bd006df
src/sage/algebras/commutative_dga.py: Remove obsolete '# needs sage.r…
mkoeppe Nov 12, 2023
919ec6f
src/sage/algebras/finite_gca.py: Remove dubious '# needs sage.libs.si…
mkoeppe Nov 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/sage/algebras/affine_nil_temperley_lieb.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage.doctest: needs sage.combinat sage.modules
"""
Affine nilTemperley Lieb Algebra of type A
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/algebras/algebra.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage.doctest: needs sage.combinat sage.modules
"""
Abstract base class for algebras
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/algebras/askey_wilson.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage.doctest: needs sage.combinat sage.modules
"""
Askey-Wilson Algebras

Expand Down
1 change: 1 addition & 0 deletions src/sage/algebras/associated_graded.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage.doctest: needs sage.modules
r"""
Associated Graded Algebras To Filtered Algebras

Expand Down
21 changes: 11 additions & 10 deletions src/sage/algebras/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,18 @@
<sage.algebras.yokonuma_hecke_algebra.YokonumaHeckeAlgebra>`
"""

from sage.algebras.free_algebra import FreeAlgebra as Free
from sage.algebras.quatalg.quaternion_algebra import QuaternionAlgebra as Quaternion
from sage.algebras.steenrod.steenrod_algebra import SteenrodAlgebra as Steenrod
from sage.algebras.finite_dimensional_algebras.finite_dimensional_algebra import FiniteDimensionalAlgebra as FiniteDimensional
from sage.algebras.group_algebra import GroupAlgebra as Group
from sage.algebras.clifford_algebra import CliffordAlgebra as Clifford
from sage.algebras.clifford_algebra import ExteriorAlgebra as Exterior
from sage.algebras.weyl_algebra import DifferentialWeylAlgebra as DifferentialWeyl
from sage.algebras.lie_algebras.lie_algebra import LieAlgebra as Lie

from sage.misc.lazy_import import lazy_import
lazy_import('sage.algebras.free_algebra', 'FreeAlgebra', as_='Free')
lazy_import('sage.algebras.quatalg.quaternion_algebra', 'QuaternionAlgebra', as_='Quaternion')
lazy_import('sage.algebras.steenrod.steenrod_algebra', 'SteenrodAlgebra', as_='Steenrod')
lazy_import('sage.algebras.finite_dimensional_algebras.finite_dimensional_algebra',
'FiniteDimensionalAlgebra', as_='FiniteDimensional')
lazy_import('sage.algebras.group_algebra', 'GroupAlgebra', as_='Group')
lazy_import('sage.algebras.clifford_algebra', 'CliffordAlgebra', as_='Clifford')
lazy_import('sage.algebras.clifford_algebra', 'ExteriorAlgebra', as_='Exterior')
lazy_import('sage.algebras.weyl_algebra', 'DifferentialWeylAlgebra', as_='DifferentialWeyl')
lazy_import('sage.algebras.lie_algebras.lie_algebra', 'LieAlgebra', as_='Lie')

lazy_import('sage.algebras.iwahori_hecke_algebra', 'IwahoriHeckeAlgebra', 'IwahoriHecke')
lazy_import('sage.algebras.nil_coxeter_algebra', 'NilCoxeterAlgebra', 'NilCoxeter')
lazy_import('sage.algebras.free_zinbiel_algebra', 'FreeZinbielAlgebra', 'FreeZinbiel')
Expand Down
1 change: 1 addition & 0 deletions src/sage/algebras/cellular_basis.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage.doctest: needs sage.combinat sage.modules
r"""
Cellular Basis
==============
Expand Down
2 changes: 2 additions & 0 deletions src/sage/algebras/clifford_algebra.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage.doctest: needs sage.modules
r"""
Clifford Algebras

Expand Down Expand Up @@ -1770,6 +1771,7 @@ def interior_product_on_basis(self, a, b):

Check :trac:`34694`::

sage: # needs sage.symbolic
sage: E = ExteriorAlgebra(SR,'e',3)
sage: E.inject_variables()
Defining e0, e1, e2
Expand Down
2 changes: 2 additions & 0 deletions src/sage/algebras/clifford_algebra_element.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage.doctest: needs sage.modules
"""
Clifford algebra elements

Expand Down Expand Up @@ -944,6 +945,7 @@ cdef class CohomologyRAAGElement(CliffordAlgebraElement):

EXAMPLES::

sage: # needs sage.graphs sage.groups
sage: C4 = graphs.CycleGraph(4)
sage: A = groups.misc.RightAngledArtin(C4)
sage: H = A.cohomology()
Expand Down
8 changes: 5 additions & 3 deletions src/sage/algebras/cluster_algebra.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage.doctest: needs sage.graphs sage.modules
r"""
Cluster algebras

Expand Down Expand Up @@ -361,12 +362,11 @@
from sage.categories.rings import Rings
from sage.combinat.cluster_algebra_quiver.quiver import ClusterQuiver
from sage.combinat.permutation import Permutation
from sage.geometry.cone import Cone
from sage.geometry.fan import Fan
from sage.graphs.digraph import DiGraph
from sage.matrix.constructor import identity_matrix, matrix
from sage.matrix.special import block_matrix
from sage.misc.cachefunc import cached_method
from sage.misc.lazy_import import lazy_import
from sage.misc.misc_c import prod
from sage.modules.free_module_element import vector
from sage.rings.infinity import infinity
Expand All @@ -381,6 +381,8 @@
from sage.structure.sage_object import SageObject
from sage.structure.unique_representation import UniqueRepresentation

lazy_import('sage.geometry.cone', 'Cone')
lazy_import('sage.geometry.fan', 'Fan')

##############################################################################
# Elements of a cluster algebra
Expand Down Expand Up @@ -2373,7 +2375,7 @@ def cluster_fan(self, depth=infinity):
EXAMPLES::

sage: A = ClusterAlgebra(['A', 2])
sage: A.cluster_fan()
sage: A.cluster_fan() # needs sage.geometry.polyhedron
Rational polyhedral fan in 2-d lattice N
"""
seeds = self.seeds(depth=depth, mutating_F=False)
Expand Down
Loading
Loading