1 #ifndef MURPHY_E_H_ 2 #define MURPHY_E_H_ 3 4 /* Header file for murphyE.c. 5 6 Copyright 2010 Paul Zimmermann 7 8 This file is part of CADO-NFS. 9 10 CADO-NFS is free software; you can redistribute it and/or modify it under the 11 terms of the GNU Lesser General Public License as published by the Free 12 Software Foundation; either version 2.1 of the License, or (at your option) 13 any later version. 14 15 CADO-NFS is distributed in the hope that it will be useful, but WITHOUT ANY 16 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 17 A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 18 details. 19 20 You should have received a copy of the GNU Lesser General Public License 21 along with CADO-NFS; see the file COPYING. If not, write to the Free Software 22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. 23 */ 24 25 #include "cado_poly.h" 26 #include "gmp_aux.h" 27 28 #ifdef __cplusplus 29 extern "C" { 30 #endif 31 32 #define MURPHY_K 1000 33 34 double MurphyE (cado_poly_srcptr cpoly, double Bf, double Bg, double area, int K, 35 unsigned long B); 36 37 #ifdef __cplusplus 38 } 39 #endif 40 41 #endif /* MURPHY_E_H_ */ 42