gr_mat_pow_scalar, gr_mat_pow_scalar_jordan, gr_mat_pow_fmpq, gr_mat_pow_fmpq_jordan
Synopsis
#include <flint/gr_mat.h>Set res to A^c for a scalar or rational exponent, using the Jordan decomposition (principal branch). The non-Jordan versions first check for small integer exponents and use gr_mat_pow_si for them.
Cite this page
The FLINT team, “gr_mat_pow_scalar, gr_mat_pow_scalar_jordan, gr_mat_pow_fmpq, gr_mat_pow_fmpq_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_pow_scalar.html (generated 2026-10-20).
@misc{flint-doc-gr-mat-gr-mat-pow-scalar,
author = {{The FLINT team}},
title = {{gr\_mat\_pow\_scalar, gr\_mat\_pow\_scalar\_jordan, gr\_mat\_pow\_fmpq, gr\_mat\_pow\_fmpq\_jordan (gr\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_mat/gr_mat_pow_scalar.html},
note = {Generated 2026-10-20}
}