fq_nmod_mat_can_solve
Synopsis
#include <flint/fq_nmod_mat.h>int fq_nmod_mat_can_solve(fq_nmod_mat_t X, const fq_nmod_mat_t A, const fq_nmod_mat_t B, const fq_nmod_ctx_t ctx)Solves AX = B for a matrix A of any shape: if a solution exists, sets X to one and returns 1, otherwise returns 0 and X is undefined. For an m \times n matrix A and an m \times k matrix B, X must be n \times k.
Generated from the same template as fq_mat_can_solve, whose documentation has the details.
Cite this page
The FLINT team, “fq_nmod_mat_can_solve (fq_nmod_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod_mat/fq_nmod_mat_can_solve.html (generated 2026-10-20).
@misc{flint-doc-fq-nmod-mat-fq-nmod-mat-can-solve,
author = {{The FLINT team}},
title = {{fq\_nmod\_mat\_can\_solve (fq\_nmod\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_nmod_mat/fq_nmod_mat_can_solve.html},
note = {Generated 2026-10-20}
}