FLINT3.7.0-dev

_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)source

Given 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).