FLINT3.7.0-dev

fmpz_mpoly_factor_sort

Synopsis#include <flint/fmpz_mpoly_factor.h>
void fmpz_mpoly_factor_sort(fmpz_mpoly_factor_t f, const fmpz_mpoly_ctx_t ctx)source

Sorts the factors by increasing exponent, and factors with equal exponents by fmpz_mpoly_cmp. Since the irreducible factorisation returned by fmpz_mpoly_factor has distinct bases with positive leading coefficients, two such factorisations of the same polynomial are identical after sorting.

Cite this page

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