FLINT3.7.0-dev

gr_mat_func_jordan, gr_mat_func_param_jordan

Synopsis#include <flint/gr_mat.h>
int gr_mat_func_jordan(gr_mat_t res, const gr_mat_t A, __gr_method_vec_op jet_func, gr_ctx_t ctx)source
int gr_mat_func_param_jordan(gr_mat_t res, const gr_mat_t A, __gr_method_vec_scalar_op jet_func, gr_srcptr c, gr_ctx_t ctx)source

Compute the matrix function f(A) = P f(J) P^{-1} from the Jordan decomposition A = P J P^{-1}. The function is given by jet_func, with signature int jet_func(gr_ptr r, gr_srcptr x, slong n, gr_ctx_t ctx), which writes the Taylor coefficients f(x), f'(x), \ldots, f^{(n-1)}(x) / (n-1)! to r. The param version takes a function int jet_func(gr_ptr r, gr_srcptr x, slong n, gr_srcptr c, gr_ctx_t ctx) of x and an extra parameter c, which may in fact point to arbitrary data understood by jet_func.

Cite this page

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