FLINT3.7.0-dev

fq_zech_mat_can_solve

Synopsis#include <flint/fq_zech_mat.h>
int fq_zech_mat_can_solve(fq_zech_mat_t X, const fq_zech_mat_t A, const fq_zech_mat_t B, const fq_zech_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_zech_mat_can_solve (fq_zech_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_zech_mat/fq_zech_mat_can_solve.html (generated 2026-10-20).