45 if (p_one || n != 1) o << n;
M2::ARingZZpFlint — Z/p via FLINT's nmod_t precomputed-reciprocal reduction.
M2::ARingZZp — portable Z/p for small primes via log / exp tables.
#define FLINT_RAND_INIT(x)
#define FLINT_RAND_CLEAR(x)
long coerceToLongInteger(const elem &f) const
void elem_text_out(buffer &o, ElementType a, bool p_one=true, bool p_plus=false, bool p_parens=false) const
flint_rand_t mRandomState
void eval(const RingMap *map, const ElementType f, int first_var, ring_elem &result) const
bool is_zero(ElementType f) const
ARingZZpFlint(size_t prime)
size_t characteristic() const
long discreteLog(const elem &a) const
void text_out(buffer &o) const
virtual ring_elem from_long(long n) const =0
const Ring * get_ring() const
Engine-side ring homomorphism: stores, for each source-ring variable, the target-ring element it maps...
VALGRIND_MAKE_MEM_DEFINED & result(result)
RingMap — engine representation of a ring homomorphism.