My Project
Toggle main menu visibility
Loading...
Searching...
No Matches
factory
ftmpl_inst.cc
Go to the documentation of this file.
1
/* emacs edit mode for this file is -*- C++ -*- */
2
3
/**
4
*
5
* @file ftmpl_inst.cc
6
*
7
* Factory's template instantiations.
8
*
9
* For a detailed description how to instantiate Factory's
10
* template classes and functions and how to add new
11
* instantiations see the `README' file.
12
*
13
**/
14
15
16
#include "config.h"
17
18
19
// #include "factory.h"
20
#include "
cf_iter.h
"
21
#include "
canonicalform.h
"
22
#include "
cf_assert.h
"
23
#include "
cf_reval.h
"
24
#include "
cf_map.h
"
25
26
27
#include "
templates/ftmpl_array.cc
"
28
#include "
templates/ftmpl_afactor.cc
"
29
#include "
templates/ftmpl_factor.cc
"
30
#include "
templates/ftmpl_list.cc
"
31
#include "
templates/ftmpl_functions.h
"
32
#include "
templates/ftmpl_matrix.cc
"
33
34
35
/** explicit template class instantiations **/
36
template
class
Factor<CanonicalForm>
;
37
template
class
List<CFFactor>
;
38
template
class
ListItem<CFFactor>
;
39
template
class
ListIterator<CFFactor>
;
40
template
class
AFactor<CanonicalForm>
;
41
template
class
List<CFAFactor>
;
42
template
class
ListItem<CFAFactor>
;
43
template
class
ListIterator<CFAFactor>
;
44
template
class
List<CanonicalForm>
;
45
template
class
ListItem<CanonicalForm>
;
46
template
class
ListIterator<CanonicalForm>
;
47
template
class
Array<CanonicalForm>
;
48
template
class
List<MapPair>
;
49
template
class
ListItem<MapPair>
;
50
template
class
ListIterator<MapPair>
;
51
template
class
Matrix<CanonicalForm>
;
52
template
class
SubMatrix<CanonicalForm>
;
53
template
class
Array<REvaluation>
;
54
// libfac:
55
template
class
Array<int>
;
56
template
class
Array<Variable>
;
57
template
class
List<Variable>
;
58
template
class
ListItem<Variable>
;
59
template
class
ListIterator<Variable>
;
60
template
class
List<int>
;
61
template
class
ListItem<int>
;
62
template
class
ListIterator<int>
;
63
template
class
List< List<int>
>;
64
template
class
ListItem< List<int>
>;
65
template
class
ListIterator< List<int>
>;
66
template
class
List< List<CanonicalForm>
>;
67
template
class
ListItem< List<CanonicalForm>
>;
68
template
class
ListIterator< List<CanonicalForm>
>;
69
70
template
List<Variable>
Union
(
const
List<Variable>
&,
const
List<Variable>
& );
71
template
List<Variable>
Difference
(
const
List<Variable>
&,
const
List<Variable>
& );
72
73
// NTL 6
74
#ifdef HAVE_NTL
75
#include<NTL/version.h>
76
#if NTL_MAJOR_VERSION == 6
77
78
#include<NTL/tools.h>
79
#include<NTL/lzz_pE.h>
80
#include<NTL/lzz_pEX.h>
81
#include<NTL/lzz_p.h>
82
#include<NTL/vector.h>
83
#include<NTL/pair.h>
84
#include<NTL/GF2X.h>
85
#include<NTL/GF2EX.h>
86
#include<NTL/ZZ.h>
87
#include<NTL/ZZX.h>
88
#include<NTL/ZZ_pX.h>
89
#include<NTL/vector.h>
90
#ifdef NTL_CLIENT
// in <NTL/tools.h>: using of name space NTL
91
NTL_CLIENT
92
#endif
93
template
void
BlockDestroy<zz_pE> (zz_pE*,
long
);
94
template
void
BlockConstruct<zz_pE> (zz_pE*,
long
);
95
template
void
BlockDestroy<Pair<zz_pEX, long> > (Pair<zz_pEX, long>*, long);
96
template
void
BlockDestroy<Pair<GF2EX, long> > (Pair<GF2EX, long>*, long);
97
template
void
BlockDestroy<Pair<ZZX, long> > (Pair<ZZX, long>*, long);
98
template
void
BlockDestroy<Pair<ZZ_pX, long> > (Pair<ZZ_pX, long>*, long);
99
template
void
BlockDestroy<Pair<GF2X, long> > (Pair<GF2X, long>*, long);
100
template
void
BlockDestroy<Vec<zz_pE> > (Vec<zz_pE>*, long);
101
template
class
Vec<zz_p>;
102
template
class
Vec<Vec<zz_p> >;
103
template
class
Vec<zz_pE>;
104
template
class
Vec<ZZ>;
105
template
class
Vec<Vec<ZZ> >;
106
template
class
Mat<zz_p>;
107
template
class
Mat<zz_pE>;
108
template
class
Mat<ZZ>;
109
template
class
Vec<Pair<zz_pEX, long> >;
110
template
class
Vec<Pair<GF2EX, long> >;
111
template
class
Vec<Pair<ZZX, long> >;
112
template
class
Vec<Pair<ZZ_pX, long> >;
113
template
class
Vec<Pair<GF2X, long> >;
114
template
class
Vec<Vec<zz_pE> >;
115
template
void
swap<zz_pE>
(Vec<zz_pE>&, Vec<zz_pE>&);
116
template
long
operator
==<zz_p>(Vec<zz_p>
const
&, Vec<zz_p>
const
&);
117
#endif
118
#endif
119
120
121
/** explicit template function instantiations **/
122
#ifndef NOSTREAMIO
123
template
OSTREAM
&
operator <<
(
OSTREAM
&,
const
List<CanonicalForm>
& );
124
template
OSTREAM
&
operator <<
(
OSTREAM
&,
const
List<CFFactor>
& );
125
template
OSTREAM
&
operator <<
(
OSTREAM
&,
const
List<MapPair>
& );
126
template
OSTREAM
&
operator <<
(
OSTREAM
&,
const
Array<CanonicalForm>
& );
127
template
OSTREAM
&
operator <<
(
OSTREAM
&,
const
Factor<CanonicalForm>
& );
128
template
OSTREAM
&
operator <<
(
OSTREAM
&,
const
Matrix<CanonicalForm>
& );
129
template
OSTREAM
&
operator <<
(
OSTREAM
&,
const
Array<REvaluation>
& );
130
//template OSTREAM & operator << ( OSTREAM &, const AFactor<CanonicalForm> & );
131
#endif
/* NOSTREAMIO */
132
133
template
int
operator ==
(
const
Factor<CanonicalForm>
&,
const
Factor<CanonicalForm>
& );
134
template
int
operator ==
(
const
AFactor<CanonicalForm>
&,
const
AFactor<CanonicalForm>
& );
135
136
template
List<CFFactor>
Union
(
const
List<CFFactor>
&,
const
List<CFFactor>
& );
137
template
List<CFAFactor>
Union
(
const
List<CFAFactor>
&,
const
List<CFAFactor>
& );
138
139
#if ! defined(WINNT) || defined(__GNUC__)
140
template
CanonicalForm
tmax
(
const
CanonicalForm
&,
const
CanonicalForm
& );
141
template
CanonicalForm
tmin
(
const
CanonicalForm
&,
const
CanonicalForm
& );
142
143
template
Variable
tmax
(
const
Variable
&,
const
Variable
& );
144
template
Variable
tmin
(
const
Variable
&,
const
Variable
& );
145
146
template
int
tmax
(
const
int
&,
const
int
& );
147
template
int
tmin
(
const
int
&,
const
int
& );
148
template
int
tabs
(
const
int
& );
149
#endif
150
151
//
152
template
int
operator==
(
const
List<CanonicalForm>
&,
const
List<CanonicalForm>
&);
153
template
List<CanonicalForm>
Union
(
const
List<CanonicalForm>
&,
const
List<CanonicalForm>
& );
154
template
List<CFList>
Union
(
const
List<CFList>
&,
const
List<CFList>
&);
155
template
List<CanonicalForm>
Difference
(
const
List<CanonicalForm>
&,
const
List<CanonicalForm>
& );
156
template
List<List<CanonicalForm>
>
Difference
(
const
List
<
List<CanonicalForm>
>&,
const
List
<
List<CanonicalForm>
>&);
157
template
List<List<CanonicalForm>
>
Difference
(
const
List
<
List<CanonicalForm>
>&,
const
List<CanonicalForm>
&);
158
159
template
CanonicalForm
prod
(
const
List<CanonicalForm>
& );
160
template
bool
find
(
const
List<CanonicalForm>
&,
const
CanonicalForm
&);
161
template
bool
find
(
const
List
<
List<CanonicalForm>
>&,
const
List<CanonicalForm>
&);
162
// place here your own template stuff, not yet instantiated by factory
163
//
swap
#define swap(_i, _j)
canonicalform.h
Header for factory's main class CanonicalForm.
OSTREAM
#define OSTREAM
Definition
canonicalform.h:16
cf_assert.h
assertions for Factory
cf_iter.h
Iterators for CanonicalForm's.
cf_map.h
map polynomials
cf_reval.h
generate random evaluation points
tabs
int tabs
Definition
checklibs.c:11
AFactor
Definition
ftmpl_afactor.h:17
Array
Definition
ftmpl_array.h:18
CanonicalForm
factory's main class
Definition
canonicalform.h:86
Factor
Definition
ftmpl_factor.h:18
ListItem
Definition
ftmpl_list.h:29
ListIterator
Definition
ftmpl_list.h:87
List
Definition
ftmpl_list.h:52
Matrix
Definition
ftmpl_matrix.h:29
SubMatrix
Definition
ftmpl_matrix.h:72
Variable
factory's class for variables
Definition
factory.h:127
prod
fq_nmod_poly_t prod
Definition
facHensel.cc:100
ftmpl_afactor.cc
ftmpl_array.cc
ftmpl_factor.cc
ftmpl_functions.h
some useful template functions.
tmax
template CanonicalForm tmax(const CanonicalForm &, const CanonicalForm &)
operator<<
template OSTREAM & operator<<(OSTREAM &, const List< CanonicalForm > &)
explicit template function instantiations
tmin
template CanonicalForm tmin(const CanonicalForm &, const CanonicalForm &)
Union
template List< Variable > Union(const List< Variable > &, const List< Variable > &)
operator==
template int operator==(const Factor< CanonicalForm > &, const Factor< CanonicalForm > &)
Difference
template List< Variable > Difference(const List< Variable > &, const List< Variable > &)
find
template bool find(const List< CanonicalForm > &, const CanonicalForm &)
ftmpl_list.cc
ftmpl_matrix.cc
Generated on
for My Project by
doxygen 1.17.0
for
Singular