_padic_poly_add, _padic_poly_sub
Synopsis
#include <flint/padic_poly.h>void _padic_poly_add(fmpz * rop, slong * rval, slong N, const fmpz * op1, slong val1, slong len1, slong N1, const fmpz * op2, slong val2, slong len2, slong N2, const padic_ctx_t ctx)sourcevoid _padic_poly_sub(fmpz * rop, slong * rval, slong N, const fmpz * op1, slong val1, slong len1, slong N1, const fmpz * op2, slong val2, slong len2, slong N2, const padic_ctx_t ctx)sourceSet (rop, *rval) of length \max(len_1, len_2) to the sum, respectively difference, of the two polynomials, reduced modulo p^N but not normalised. The input precisions N_1, N_2 are ignored. Allow rop to be equal to op1 or op2, provided it has space for \max(len_1, len_2) coefficients.
Cite this page
The FLINT team, “_padic_poly_add, _padic_poly_sub (padic_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/padic_poly/_padic_poly_add.html (generated 2026-10-20).
@misc{flint-doc-padic-poly-padic-poly-add,
author = {{The FLINT team}},
title = {{\_padic\_poly\_add, \_padic\_poly\_sub (padic\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/padic_poly/_padic_poly_add.html},
note = {Generated 2026-10-20}
}