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>1x > 1, append to ss continued fraction terms valid for every number in xx, multiply MM on the right by the corresponding elementary matrices, and replace xx by its image under the inverse transformation. With needM zero and an exact ball, MM 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-11-02).