_fmpq_ball_get_cfrac
Synopsis
#include <flint/fmpq.h>void _fmpq_ball_get_cfrac(_fmpq_cfrac_list_t s, _fmpz_mat22_t M, int needM, _fmpq_ball_t x)sourceGiven a ball x > 1, append to s continued fraction terms valid for every number in x, multiply M on the right by the corresponding elementary matrices, and replace x by its image under the inverse transformation. With needM zero and an exact ball, M may be left unchanged.
Cite this page
The FLINT team, “_fmpq_ball_get_cfrac (fmpq.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq/_fmpq_ball_get_cfrac.html (generated 2026-10-20).
@misc{flint-doc-fmpq-fmpq-ball-get-cfrac,
author = {{The FLINT team}},
title = {{\_fmpq\_ball\_get\_cfrac (fmpq.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq/_fmpq_ball_get_cfrac.html},
note = {Generated 2026-10-20}
}