My Project  debian-1:4.1.1-p2+ds-4build3
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"
30 #include "templates/ftmpl_list.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>& );
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
124 template OSTREAM & operator << ( OSTREAM &, const List<CFFactor> & );
125 template OSTREAM & operator << ( OSTREAM &, const List<MapPair> & );
130 //template OSTREAM & operator << ( OSTREAM &, const AFactor<CanonicalForm> & );
131 #endif /* NOSTREAMIO */
132 
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> &);
154 template List<CFList> Union ( const List<CFList>&, const List<CFList>&);
158 
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 //
Matrix
Definition: ftmpl_matrix.h:20
SubMatrix
Definition: ftmpl_matrix.h:17
canonicalform.h
cf_reval.h
ftmpl_matrix.cc
prod
template CanonicalForm prod(const List< CanonicalForm > &)
tabs
template int tabs(const int &)
ftmpl_functions.h
CanonicalForm
factory's main class
Definition: canonicalform.h:83
Array< CanonicalForm >
Difference
template List< Variable > Difference(const List< Variable > &, const List< Variable > &)
cf_iter.h
ftmpl_factor.cc
AFactor
Definition: ftmpl_afactor.h:17
tmin
template CanonicalForm tmin(const CanonicalForm &, const CanonicalForm &)
operator<<
template OSTREAM & operator<<(OSTREAM &, const List< CanonicalForm > &)
explicit template function instantiations
ftmpl_afactor.cc
ListItem
Definition: ftmpl_list.h:29
Factor
Definition: ftmpl_factor.h:18
tmax
template CanonicalForm tmax(const CanonicalForm &, const CanonicalForm &)
cf_map.h
Variable
factory's class for variables
Definition: factory.h:118
find
template bool find(const List< CanonicalForm > &, const CanonicalForm &)
cf_assert.h
Union
template List< Variable > Union(const List< Variable > &, const List< Variable > &)
operator==
template int operator==(const Factor< CanonicalForm > &, const Factor< CanonicalForm > &)
List
Definition: ftmpl_list.h:20
OSTREAM
#define OSTREAM
Definition: canonicalform.h:16
ftmpl_list.cc
ftmpl_array.cc
ListIterator
Definition: ftmpl_list.h:17