Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /*
0002     Copyright (C) 2012 Andres Goens
0003     Copyright (C) 2012 Sebastian Pancratz
0004     Copyright (C) 2013 Mike Hansen
0005 
0006     This file is part of FLINT.
0007 
0008     FLINT is free software: you can redistribute it and/or modify it under
0009     the terms of the GNU Lesser General Public License (LGPL) as published
0010     by the Free Software Foundation; either version 3 of the License, or
0011     (at your option) any later version.  See <https://www.gnu.org/licenses/>.
0012 */
0013 
0014 #ifndef FQ_POLY_H
0015 #define FQ_POLY_H
0016 
0017 #ifdef FQ_POLY_INLINES_C
0018 #define FQ_POLY_INLINE
0019 #define FQ_POLY_TEMPLATES_INLINE
0020 #else
0021 #define FQ_POLY_INLINE static inline
0022 #define FQ_POLY_TEMPLATES_INLINE static inline
0023 #endif
0024 
0025 #include "fq_types.h"
0026 
0027 #define FQ_POLY_DIVREM_DIVCONQUER_CUTOFF  16
0028 #define FQ_COMPOSE_MOD_LENH_CUTOFF 6
0029 #define FQ_COMPOSE_MOD_PREINV_LENH_CUTOFF 6
0030 #define FQ_MUL_CLASSICAL_CUTOFF 6
0031 #define FQ_MULLOW_CLASSICAL_CUTOFF 6
0032 #define FQ_SQR_CLASSICAL_CUTOFF 6
0033 
0034 #define FQ_POLY_HGCD_CUTOFF 30
0035 #define FQ_POLY_SMALL_GCD_CUTOFF 80
0036 #define FQ_POLY_GCD_CUTOFF 90
0037 
0038 #ifdef T
0039 #undef T
0040 #endif
0041 
0042 #define T fq
0043 #define CAP_T FQ
0044 #include "fq_poly_templates.h"
0045 #undef CAP_T
0046 #undef T
0047 
0048 #endif