FLINT3.7.0-dev

fq_nmod_sqrt, fq_nmod_is_square, fq_nmod_pth_root

Synopsis#include <flint/fq_nmod.h>
int fq_nmod_sqrt(fq_nmod_t rop, const fq_nmod_t op, const fq_nmod_ctx_t ctx)source
int fq_nmod_is_square(const fq_nmod_t op, const fq_nmod_ctx_t ctx)source
void fq_nmod_pth_root(fq_nmod_t rop, const fq_nmod_t op1, const fq_nmod_ctx_t ctx)source

Square root (returning 0 if op is not a square), squareness test and p-th root, as fq_sqrt, fq_is_square and fq_pth_root.

Cite this page

The FLINT team, “fq_nmod_sqrt, fq_nmod_is_square, fq_nmod_pth_root (fq_nmod.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod/fq_nmod_sqrt.html (generated 2026-10-20).