FLINT3.7.0-dev

fq_inv

Synopsis#include <flint/fq.h>
void fq_inv(fq_t rop, const fq_t op1, const fq_ctx_t ctx)source

Sets rop to \mathit{op1}^{-1}, computed with the extended Euclidean algorithm in \mathbb{F}_p[x]. Throws FLINT_ERROR if op1 is zero.

Cite this page

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