FLINT3.7.0-dev

ca_mat_log

Synopsis#include <flint/ca_mat.h>
truth_t ca_mat_log(ca_mat_t res, const ca_mat_t A, ca_ctx_t ctx)source

Sets res to a matrix logarithm of A and returns T_TRUE; returns T_FALSE if A is proved to have no logarithm (it is singular), and T_UNKNOWN if this cannot be decided or the Jordan decomposition fails. The branch is defined by the principal logarithms of the eigenvalues. Wrapper of gr_mat_log.

Cite this page

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