FLINT3.7.0-dev

_fq_zech_poly_sqrt, fq_zech_poly_sqrt

Synopsis#include <flint/fq_zech_poly.h>
int _fq_zech_poly_sqrt(fq_zech_struct * s, const fq_zech_struct * p, slong len, fq_zech_ctx_t ctx)
int fq_zech_poly_sqrt(fq_zech_poly_t b, const fq_zech_poly_t a, fq_zech_ctx_t ctx)

If the polynomial is the square of a polynomial, set the output to a square root and return 1; otherwise return 0. The underscore version writes len / 2 + 1 coefficients.

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

Cite this page

The FLINT team, “_fq_zech_poly_sqrt, fq_zech_poly_sqrt (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.html (generated 2026-10-20).