Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions doc/source/fmpz_mod_mat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

**fmpz_mod_mat.h** -- matrices over integers mod n
===============================================================================
Unless indicated, functions may assume that the stored values are in the range `[0, n)`. The user can manipulate matrix entries directly, but must assume responsibility for normalising all values to the range `[0, n)`.

Types, macros and constants
-------------------------------------------------------------------------------
Expand Down Expand Up @@ -144,6 +145,11 @@ Input and output
Comparison
--------------------------------------------------------------------------------

.. function:: int fmpz_mod_mat_equal(const fmpz_mod_mat_t mat1, const fmpz_mod_mat_t mat2, const fmpz_mod_ctx_t ctx)

Returns nonzero if ``mat1`` and ``mat2`` have the same dimensions and elements,
and zero otherwise. The moduli are ignored.


.. function:: int fmpz_mod_mat_is_zero(const fmpz_mod_mat_t mat, const fmpz_mod_ctx_t ctx)

Expand Down
3 changes: 1 addition & 2 deletions doc/source/nmod_mat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ perform some kind of division, solving, or Gaussian elimination
in functions that only perform basic manipulation and ring operations
(e.g. transpose and matrix multiplication).

The user can manipulate matrix entries directly, but must assume
responsibility for normalising all values to the range `[0, n)`.
Unless indicated, functions may assume that the stored values are in the range `[0, n)`. The user can manipulate matrix entries directly, but must assume responsibility for normalising all values to the range `[0, n)`.

Types, macros and constants
-------------------------------------------------------------------------------
Expand Down