1 | //////////////////////////////////////////////////////////// |
---|
2 | // emacs edit mode for this file is -*- C++ -*- |
---|
3 | // $Id$ |
---|
4 | //////////////////////////////////////////////////////////// |
---|
5 | |
---|
6 | // #include <factory/templates/ftmpl_array.cc> |
---|
7 | |
---|
8 | #include "factory.h" |
---|
9 | |
---|
10 | #include "templates/ftmpl_array.cc" |
---|
11 | #include "templates/ftmpl_factor.cc" |
---|
12 | #include "templates/ftmpl_list.cc" |
---|
13 | #include "templates/ftmpl_functions.h" |
---|
14 | #include "templates/ftmpl_matrix.cc" |
---|
15 | |
---|
16 | template class Factor<CanonicalForm>; |
---|
17 | template class List<CFFactor>; |
---|
18 | template class ListIterator<CFFactor>; |
---|
19 | template class List<CanonicalForm>; |
---|
20 | template class ListIterator<CanonicalForm>; |
---|
21 | template class Array<CanonicalForm>; |
---|
22 | template class List<MapPair>; |
---|
23 | template class ListIterator<MapPair>; |
---|
24 | template class Matrix<CanonicalForm>; |
---|
25 | template class SubMatrix<CanonicalForm>; |
---|
26 | |
---|
27 | #ifndef NOSTREAMIO |
---|
28 | template OSTREAM & operator << ( OSTREAM &, const List<CanonicalForm> & ); |
---|
29 | template OSTREAM & operator << ( OSTREAM &, const List<CFFactor> & ); |
---|
30 | template OSTREAM & operator << ( OSTREAM &, const List<MapPair> & ); |
---|
31 | template OSTREAM & operator << ( OSTREAM &, const Array<CanonicalForm> & ); |
---|
32 | template OSTREAM & operator << ( OSTREAM &, const Factor<CanonicalForm> & ); |
---|
33 | //template OSTREAM & operator << ( OSTREAM &, const Matrix<CanonicalForm> & ); |
---|
34 | #endif |
---|
35 | |
---|
36 | template List<CFFactor> Union ( const List<CFFactor>&, const List<CFFactor>& ); |
---|
37 | |
---|
38 | /* |
---|
39 | template CanonicalForm crossprod ( const Array<CanonicalForm>&, const Array<CanonicalForm>& ); |
---|
40 | template CanonicalForm prod ( const Array<CanonicalForm>& ); |
---|
41 | */ |
---|
42 | |
---|
43 | template CanonicalForm tmax ( const CanonicalForm&, const CanonicalForm& ); |
---|
44 | template CanonicalForm tmin ( const CanonicalForm&, const CanonicalForm& ); |
---|
45 | |
---|
46 | template int tmax ( const int&, const int& ); |
---|
47 | template int tmin ( const int&, const int& ); |
---|
48 | |
---|
49 | // place here your own template stuff, not instantiated by factory |
---|
50 | #include <libfac/factor/tmpl_inst.h> |
---|
51 | #include <libfac/factor/class.cc> |
---|
52 | |
---|
53 | template class List<int>; |
---|
54 | template class ListIterator<int>; |
---|
55 | |
---|
56 | template class List<IntList>; |
---|
57 | template class ListIterator<IntList>; |
---|
58 | |
---|
59 | template class Substitution<CanonicalForm>; |
---|
60 | template class List<SForm>; |
---|
61 | template class ListIterator<SForm>; |
---|
62 | |
---|
63 | template List<CanonicalForm> Union ( const List<CanonicalForm>&, const List<CanonicalForm>& ); |
---|
64 | template List<CanonicalForm> Difference ( const List<CanonicalForm>&, const List<CanonicalForm>& ); |
---|
65 | |
---|
66 | #ifndef NOSTREAMIO |
---|
67 | template OSTREAM & operator << ( OSTREAM &, const List<int> & ); |
---|
68 | template OSTREAM & operator << ( OSTREAM &, const List<IntList> & ); |
---|
69 | #endif |
---|
70 | |
---|
71 | // for charsets: |
---|
72 | template class List<CFList>; |
---|
73 | template class ListIterator<CFList>; |
---|
74 | template class List<Variable>; |
---|
75 | template class ListIterator<Variable> ; |
---|
76 | |
---|
77 | template List<Variable> Union ( const List<Variable>&, const List<Variable>& ); |
---|
78 | template List<Variable> Difference ( const List<Variable>&, const List<Variable>& ); |
---|
79 | |
---|
80 | #ifndef NOSTREAMIO |
---|
81 | template OSTREAM & operator << ( OSTREAM &, const List<CFList> & ); |
---|
82 | template OSTREAM & operator << ( OSTREAM &, const List<Variable> & ); |
---|
83 | template OSTREAM & operator << ( OSTREAM &, const Array<int> & ); |
---|
84 | #endif |
---|
85 | |
---|
86 | template class Array<int>; |
---|
87 | template class Array<Variable>; |
---|
88 | template class Array<REvaluation>; |
---|
89 | |
---|
90 | // for database |
---|
91 | #ifdef HAVE_DATABASE |
---|
92 | template class List<CFFList>; |
---|
93 | template class ListIterator<CFFList>; |
---|
94 | #endif /* HAVE_DATABASE */ |
---|