From 009a26044094c1c878386c3445c954901c014359 Mon Sep 17 00:00:00 2001 From: Vincent Macri Date: Mon, 6 Jul 2026 11:33:52 -0600 Subject: [PATCH 1/2] Add link to FLINT nmod matrices to docs --- src/doc/en/reference/matrices/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/src/doc/en/reference/matrices/index.rst b/src/doc/en/reference/matrices/index.rst index 889a33bd717..49afead47d2 100644 --- a/src/doc/en/reference/matrices/index.rst +++ b/src/doc/en/reference/matrices/index.rst @@ -77,6 +77,7 @@ objects like operation tables (e.g. the multiplication table of a group). sage/matrix/matrix_gf2e_dense sage/matrix/matrix_modn_dense_double sage/matrix/matrix_modn_dense_float + sage/matrix/matrix_modn_dense_flint sage/matrix/matrix_modn_sparse sage/matrix/matrix_symbolic_dense sage/matrix/matrix_symbolic_sparse From 4a5598e642e5750b9445eb6a843d2bf6050b552a Mon Sep 17 00:00:00 2001 From: Vincent Macri Date: Mon, 6 Jul 2026 11:38:02 -0600 Subject: [PATCH 2/2] Match format of document title to existing LinBox docs --- src/sage/matrix/matrix_modn_dense_flint.pyx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sage/matrix/matrix_modn_dense_flint.pyx b/src/sage/matrix/matrix_modn_dense_flint.pyx index fb42bd6090d..2994310a0d2 100644 --- a/src/sage/matrix/matrix_modn_dense_flint.pyx +++ b/src/sage/matrix/matrix_modn_dense_flint.pyx @@ -1,10 +1,10 @@ # distutils: extra_compile_args = -D_XPG6 # flags chosen from libs/flint/fmpz_poly.pyx r""" -FLINT nmod_mat class wrapper +Dense matrices over `\Zmod{n}` for `n < 2^{64}` using FLINT -This file implements matrices over `\ZZ/N\ZZ` for `N < 2^{64}` (or `N < 2^{32}` on 32-bit systems). -It also adds some capabilities for composite `N` that are not present in FLINT. +This file implements matrices over `\Zmod{n}` for `n < 2^{64}` (or `n < 2^{32}` on 32-bit systems). +It also adds some capabilities for composite `n` that are not present in FLINT. AUTHORS: @@ -72,7 +72,7 @@ MAX_MODULUS = (sys.maxsize + 1) << 1 cdef class Matrix_modn_dense_flint(Matrix_dense): r""" - Matrices modulo `N` for `N < 2^{63}` + Matrices modulo `n` for `n < 2^{64}` (or `n < 2^{32}` on 32-bit systems). EXAMPLES::