FLINT3.7.0-dev

fq_mul, fq_sqr

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

Set rop to \mathit{op1} \cdot \mathit{op2}, respectively \mathit{op}^2. The product of the representatives is computed with fmpz_poly_mul (or fmpz_poly_sqr) and reduced with fq_reduce.

Cite this page

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