ca_mat_inv
Synopsis
#include <flint/ca_mat.h>For a square matrix A: if A is proved nonsingular, sets X = A^{-1} and returns T_TRUE; returns T_FALSE if A is proved singular and T_UNKNOWN otherwise. Matrices of size at most 4, and matrices whose entries do not all lie in \mathbb{Q} or one number field, are inverted through the adjugate matrix; the others by LU decomposition.
Guides#
- Using ca (
ca)
Cite this page
The FLINT team, “ca_mat_inv (ca_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/ca_mat/ca_mat_inv.html (generated 2026-10-20).
@misc{flint-doc-ca-mat-ca-mat-inv,
author = {{The FLINT team}},
title = {{ca\_mat\_inv (ca\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/ca_mat/ca_mat_inv.html},
note = {Generated 2026-10-20}
}