FLINT3.7.0-dev

n_poly_mod_neg, n_poly_mod_add, n_poly_mod_sub, n_poly_mod_add_ui

Synopsis#include <flint/n_poly.h>
void n_poly_mod_neg(n_poly_t A, const n_poly_t B, nmod_t mod)source
void n_poly_mod_add(n_poly_t A, const n_poly_t B, const n_poly_t C, nmod_t mod)source
void n_poly_mod_sub(n_poly_t A, const n_poly_t B, const n_poly_t C, nmod_t mod)source
void n_poly_mod_add_ui(n_poly_t res, const n_poly_t poly, ulong c, nmod_t ctx)source

Negation, addition and subtraction, and addition of the constant c (reduced first).

Cite this page

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