FAAST
0.2.1
Main Page
Related Pages
Modules
Data Structures
Examples
include
FAAST
NTLhacks.hpp
1
/*
2
This file is part of the FAAST library.
3
4
Copyright (c) 2009 Luca De Feo and Éric Schost.
5
6
The most recent version of FAAST is available at http://www.lix.polytechnique.fr/~defeo/FAAST
7
8
This program is free software; you can redistribute it and/or
9
modify it under the terms of the GNU General Public License
10
as published by the Free Software Foundation; either version 2
11
of the License, or (at your option) any later version.
12
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License for more details.
17
18
You should have received a copy of the GNU General Public License
19
along with this program; see file COPYING. If not, write to the Free Software
20
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
*/
22
/* This header contains small hacks adding routines and features to NTL.
23
*
24
* NTLhacks.hpp
25
*
26
* Created on: May 19, 2009
27
* Author: defeo
28
*/
29
30
#ifndef NTLHACKS_HPP_
31
#define NTLHACKS_HPP_
32
33
#include <NTL/GF2X.h>
34
#include <NTL/GF2.h>
35
#include <NTL/lzz_p.h>
36
#include <NTL/ZZ_p.h>
37
#include <NTL/ZZ.h>
38
#include <NTL/tools.h>
39
40
namespace
NTL_NAMESPACE {
54
inline
void
MakeMonic(GF2X& x) {}
60
void
power(zz_p& x,
const
zz_p& a,
const
ZZ& e);
62
void
power(GF2& x,
const
GF2& a,
const
ZZ& e);
63
67
}
68
69
#endif
/* NTLHACKS_HPP_ */
Generated on Mon Jun 3 2013 20:49:49 for FAAST by
1.8.1.2