_flint_mpn_gcd_subdiv_step, _flint_mpn_hgcd_step, _flint_mpn_hgcd_itch, _flint_mpn_hgcd, _flint_mpn_hgcd_appr_itch, _flint_mpn_hgcd_appr, _flint_mpn_hgcd_reduce_itch, _flint_mpn_hgcd_reduce, _flint_mpn_gcdext_hook, _flint_mpn_gcdext_lehmer_n
#include <flint/mpn_extras.h>mp_size_t _flint_mpn_gcd_subdiv_step(mp_ptr ap, mp_ptr bp, mp_size_t n, mp_size_t s, _flint_mpn_gcd_subdiv_step_hook * hook, void * ctx, mp_ptr tp)sourcemp_size_t _flint_mpn_hgcd_step(mp_size_t n, mp_ptr ap, mp_ptr bp, mp_size_t s, flint_mpn_hgcd_matrix_struct * M, mp_ptr tp)sourcemp_size_t _flint_mpn_hgcd_itch(mp_size_t n)sourcemp_size_t _flint_mpn_hgcd(mp_ptr ap, mp_ptr bp, mp_size_t n, flint_mpn_hgcd_matrix_struct * M, mp_ptr tp)sourcemp_size_t _flint_mpn_hgcd_appr_itch(mp_size_t n)sourceint _flint_mpn_hgcd_appr(mp_ptr ap, mp_ptr bp, mp_size_t n, flint_mpn_hgcd_matrix_struct * M, mp_ptr tp)sourcemp_size_t _flint_mpn_hgcd_reduce_itch(mp_size_t n, mp_size_t p)sourcemp_size_t _flint_mpn_hgcd_reduce(flint_mpn_hgcd_matrix_struct * M, mp_ptr ap, mp_ptr bp, mp_size_t n, mp_size_t p, mp_ptr tp)sourcevoid _flint_mpn_gcdext_hook(void * p, mp_srcptr gp, mp_size_t gn, mp_srcptr qp, mp_size_t qn, int d)sourcemp_size_t _flint_mpn_gcdext_lehmer_n(mp_ptr gp, mp_ptr up, mp_size_t * usize, mp_ptr ap, mp_ptr bp, mp_size_t n, mp_ptr tp)sourcePorts of the GMP functions of the same names (without the leading _flint). _flint_mpn_hgcd reduces of limbs (one of the top limbs nonzero) until fits in limbs, accumulating the reduction in (initialised for limbs) so that is times the reduced pair, and returns the new size, or 0 if no reduction is possible; tp must have room for _flint_mpn_hgcd_itch(n) limbs. _flint_mpn_hgcd_appr computes an approximation of the same matrix from destroyed inputs.
The FLINT team, “_flint_mpn_gcd_subdiv_step, _flint_mpn_hgcd_step, _flint_mpn_hgcd_itch, _flint_mpn_hgcd, _flint_mpn_hgcd_appr_itch, _flint_mpn_hgcd_appr, _flint_mpn_hgcd_reduce_itch, _flint_mpn_hgcd_reduce, _flint_mpn_gcdext_hook, _flint_mpn_gcdext_lehmer_n (mpn_extras.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpn_extras/_flint_mpn_gcd_subdiv_step.html (generated 2026-11-02).
@misc{flint-doc-mpn-extras-flint-mpn-gcd-subdiv-step,
author = {{The FLINT team}},
title = {{\_flint\_mpn\_gcd\_subdiv\_step, \_flint\_mpn\_hgcd\_step, \_flint\_mpn\_hgcd\_itch, \_flint\_mpn\_hgcd, \_flint\_mpn\_hgcd\_appr\_itch, \_flint\_mpn\_hgcd\_appr, \_flint\_mpn\_hgcd\_reduce\_itch, \_flint\_mpn\_hgcd\_reduce, \_flint\_mpn\_gcdext\_hook, \_flint\_mpn\_gcdext\_lehmer\_n (mpn\_extras.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mpn_extras/_flint_mpn_gcd_subdiv_step.html},
note = {Generated 2026-11-02}
}