FLINT3.7.0-dev

ca_mat_adjugate_cofactor, ca_mat_adjugate_charpoly, ca_mat_adjugate

Synopsis#include <flint/ca_mat.h>
void ca_mat_adjugate_cofactor(ca_mat_t adj, ca_t det, const ca_mat_t A, ca_ctx_t ctx)source
void ca_mat_adjugate_charpoly(ca_mat_t adj, ca_t det, const ca_mat_t A, ca_ctx_t ctx)source
void ca_mat_adjugate(ca_mat_t adj, ca_t det, const ca_mat_t A, ca_ctx_t ctx)source

Sets adj to the adjugate matrix of A and det to its determinant, computed together, by cofactor expansion or from the characteristic polynomial p (using \operatorname{adj}(A) = \pm q(A) where p(x) = x q(x) + p(0), a wrapper of gr_mat_adjugate_charpoly). Neither needs zero tests. The default version uses cofactors for n \le 5.

Cite this page

The FLINT team, “ca_mat_adjugate_cofactor, ca_mat_adjugate_charpoly, ca_mat_adjugate (ca_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/ca_mat/ca_mat_adjugate_cofactor.html (generated 2026-10-20).