Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-07 10:15:19

0001 /*
0002     Copyright (C) 2017 Luca De Feo
0003 
0004     This file is part of FLINT.
0005 
0006     FLINT is free software: you can redistribute it and/or modify it under
0007     the terms of the GNU Lesser General Public License (LGPL) as published
0008     by the Free Software Foundation; either version 3 of the License, or
0009     (at your option) any later version.  See <https://www.gnu.org/licenses/>.
0010 */
0011 
0012 #ifndef FQ_EMBED_H
0013 #define FQ_EMBED_H
0014 
0015 #ifdef FQ_EMBED_INLINES_C
0016 #define FQ_EMBED_INLINE
0017 #define FQ_EMBED_TEMPLATES_INLINE
0018 #else
0019 #define FQ_EMBED_INLINE static inline
0020 #define FQ_EMBED_TEMPLATES_INLINE static inline
0021 #endif
0022 
0023 #include "fq_types.h"
0024 
0025 #define T fq
0026 #define B fmpz_mod
0027 #include "fq_embed_templates.h"
0028 #undef B
0029 #undef T
0030 
0031 void fq_modulus_pow_series_inv(fmpz_mod_poly_t res, const fq_ctx_t ctx, slong trunc);
0032 
0033 void fq_modulus_derivative_inv(fq_t m_prime, fq_t m_prime_inv, const fq_ctx_t ctx);
0034 
0035 #endif