FLINT3.7.0-dev

_fq_zech_poly_sqrt_series, fq_zech_poly_sqrt_series, _fq_zech_poly_invsqrt_series, fq_zech_poly_invsqrt_series

Synopsis#include <flint/fq_zech_poly.h>
void _fq_zech_poly_sqrt_series(fq_zech_struct * g, const fq_zech_struct * h, slong n, fq_zech_ctx_t ctx)
void fq_zech_poly_sqrt_series(fq_zech_poly_t g, const fq_zech_poly_t h, slong n, fq_zech_ctx_t ctx)
void _fq_zech_poly_invsqrt_series(fq_zech_struct * g, const fq_zech_struct * h, slong n, fq_zech_ctx_t ctx)
void fq_zech_poly_invsqrt_series(fq_zech_poly_t g, const fq_zech_poly_t h, slong n, fq_zech_ctx_t ctx)

Set g to \sqrt{h}, respectively 1/\sqrt{h}, modulo x^n, for a power series h with constant term 1 (the square root with constant term 1), by Newton iteration. The underscore versions require n > 0 and h zero-padded to length n, and do not allow aliasing. All four throw FLINT_ERROR in characteristic 2 for n > 1; the others throw if the constant term of h is not 1.

Generated from the same template as _fq_poly_sqrt_series, whose documentation has the details.

Cite this page

The FLINT team, “_fq_zech_poly_sqrt_series, fq_zech_poly_sqrt_series, _fq_zech_poly_invsqrt_series, fq_zech_poly_invsqrt_series (fq_zech_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_zech_poly/_fq_zech_poly_sqrt_series.html (generated 2026-10-20).