]> gitweb.michael.orlitzky.com - sage.d.git/commit
mjo/matrix_algebra.py: support the original __getitem__ syntax
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 24 Jan 2026 01:11:39 +0000 (20:11 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 24 Jan 2026 01:11:39 +0000 (20:11 -0500)
commit492e5eb77e5dd5f5cf5eae0bb9de638b3fae74a0
tree889ff55508870790c41b0c3f8e2169a9984c25b5
parente84ed3f4b22fd09bb24883061775011adefd309c
mjo/matrix_algebra.py: support the original __getitem__ syntax

To support submodules, we need __getitem__() to support its original
behavior of returning coordinates when given all three indices.
mjo/matrix_algebra.py