Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagelib
Path: blob/master/sage/libs/ntl/all.py
4076 views
1
r"""
2
Victor Shoup's NTL C++ Library
3
4
Sage provides an interface to Victor Shoup's C++ library NTL.
5
Features of this library include *incredibly fast* arithmetic with
6
polynomials and asymptotically fast factorization of polynomials.
7
"""
8
9
__doc_exclude = [] # to include everything
10
11
#*****************************************************************************
12
# Copyright (C) 2005 William Stein <[email protected]>
13
#
14
# Distributed under the terms of the GNU General Public License (GPL)
15
#
16
# This code is distributed in the hope that it will be useful,
17
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
# General Public License for more details.
20
#
21
# The full text of the GPL is available at:
22
#
23
# http://www.gnu.org/licenses/
24
#*****************************************************************************
25
26
from sage.libs.ntl.ntl_ZZ import (
27
ntl_setSeed, \
28
ntl_ZZ as ZZ,
29
randomBnd as ZZ_random,
30
randomBits as ZZ_random_bits )
31
32
from sage.libs.ntl.ntl_ZZ_pContext import ntl_ZZ_pContext as ZZ_pContext
33
34
from sage.libs.ntl.ntl_ZZ_p import (
35
ntl_ZZ_p as ZZ_p,
36
ntl_ZZ_p_random_element as ZZ_p_random )
37
38
from sage.libs.ntl.ntl_ZZX import (
39
ntl_ZZX as ZZX,
40
zero_ZZX, one_ZZX )
41
42
from sage.libs.ntl.ntl_ZZ_pX import ntl_ZZ_pX as ZZ_pX
43
44
from sage.libs.ntl.ntl_ZZ_pEContext import ntl_ZZ_pEContext as ZZ_pEContext
45
46
from sage.libs.ntl.ntl_ZZ_pE import ntl_ZZ_pE as ZZ_pE
47
48
from sage.libs.ntl.ntl_ZZ_pEX import ntl_ZZ_pEX as ZZ_pEX
49
50
from sage.libs.ntl.ntl_lzz_pContext import ntl_zz_pContext as zz_pContext
51
52
from sage.libs.ntl.ntl_lzz_p import ntl_zz_p as zz_p
53
54
from sage.libs.ntl.ntl_lzz_pX import ntl_zz_pX as zz_pX
55
56
from sage.libs.ntl.ntl_mat_ZZ import ntl_mat_ZZ as mat_ZZ
57
58
from sage.libs.ntl.ntl_GF2 import ntl_GF2 as GF2
59
60
from sage.libs.ntl.ntl_GF2X import (
61
ntl_GF2X as GF2X,
62
GF2XHexOutput,
63
)
64
65
from sage.libs.ntl.ntl_GF2EContext import ntl_GF2EContext as GF2EContext
66
67
from sage.libs.ntl.ntl_GF2E import (
68
ntl_GF2E as GF2E, \
69
ntl_GF2E_random as GF2E_random, \
70
)
71
72
from sage.libs.ntl.ntl_GF2EX import ntl_GF2EX as GF2EX
73
74
from sage.libs.ntl.ntl_mat_GF2E import ntl_mat_GF2E as mat_GF2E
75
76
from sage.libs.ntl.ntl_mat_GF2 import ntl_mat_GF2 as mat_GF2
77
78