1 | // emacs edit mode for this file is -*- C++ -*- |
---|
2 | /**************************************** |
---|
3 | * Computer Algebra System SINGULAR * |
---|
4 | ****************************************/ |
---|
5 | // $Id: claptmpl.cc,v 1.4 1997-04-25 15:03:53 obachman Exp $ |
---|
6 | /* |
---|
7 | * ABSTRACT - instantiation of all templates |
---|
8 | */ |
---|
9 | |
---|
10 | #include "mod2.h" |
---|
11 | |
---|
12 | #ifdef HAVE_FACTORY |
---|
13 | #define SINGULAR 1 |
---|
14 | #include <singfactory.h> |
---|
15 | #endif |
---|
16 | |
---|
17 | #if defined(HAVE_FACTORY) || defined(HAVE_FGLM) |
---|
18 | #include <templates/list.cc> |
---|
19 | #endif |
---|
20 | |
---|
21 | #ifdef HAVE_FGLM |
---|
22 | #include "fglm.h" |
---|
23 | #endif |
---|
24 | |
---|
25 | #ifdef HAVE_FACTORY |
---|
26 | #include <templates/array.cc> |
---|
27 | #include <templates/factor.cc> |
---|
28 | #include <templates/functions.h> |
---|
29 | #include <templates/matrix.cc> |
---|
30 | |
---|
31 | template class Factor<CanonicalForm>; |
---|
32 | template class List<CFFactor>; |
---|
33 | template class ListItem<CFFactor>; |
---|
34 | template class ListItem<CanonicalForm>; |
---|
35 | template class ListIterator<CFFactor>; |
---|
36 | template class List<CanonicalForm>; |
---|
37 | template class ListIterator<CanonicalForm>; |
---|
38 | template class Array<CanonicalForm>; |
---|
39 | template class List<MapPair>; |
---|
40 | template class ListItem<MapPair>; |
---|
41 | template class ListIterator<MapPair>; |
---|
42 | template class Matrix<CanonicalForm>; |
---|
43 | template class SubMatrix<CanonicalForm>; |
---|
44 | |
---|
45 | template List<CFFactor> Union ( const List<CFFactor>&, const List<CFFactor>& ); |
---|
46 | |
---|
47 | template CanonicalForm tmax ( const CanonicalForm&, const CanonicalForm& ); |
---|
48 | template CanonicalForm tmin ( const CanonicalForm&, const CanonicalForm& ); |
---|
49 | |
---|
50 | template int tmax ( const int&, const int& ); |
---|
51 | template int tmin ( const int&, const int& ); |
---|
52 | |
---|
53 | // place here your own template stuff, not instantiated by factory |
---|
54 | |
---|
55 | #ifdef HAVE_LIBFAC_P |
---|
56 | #include <tmpl_inst.h> |
---|
57 | #include <class.cc> |
---|
58 | |
---|
59 | template class List<int>; |
---|
60 | template class ListIterator<int>; |
---|
61 | |
---|
62 | template class List<IntList>; |
---|
63 | template class ListIterator<IntList>; |
---|
64 | |
---|
65 | template class Substitution<CanonicalForm>; |
---|
66 | template class Array<Variable>; |
---|
67 | template class Array<int>; |
---|
68 | template class List<SForm>; |
---|
69 | template class ListIterator<SForm>; |
---|
70 | template class List<Variable>; |
---|
71 | template class ListIterator<Variable> ; |
---|
72 | |
---|
73 | template List<Variable> Union ( const List<Variable>&, const List<Variable>& ); |
---|
74 | template List<Variable> Difference ( const List<Variable>&, const List<Variable>& ); |
---|
75 | |
---|
76 | template List<CanonicalForm> Union ( const List<CanonicalForm>&, const List<CanonicalForm>& ); |
---|
77 | template List<CanonicalForm> Difference ( const List<CanonicalForm>&, const List<CanonicalForm>& ); |
---|
78 | |
---|
79 | // for charsets: |
---|
80 | template class List<CFList>; |
---|
81 | template class ListIterator<CFList>; |
---|
82 | |
---|
83 | #endif |
---|
84 | #endif |
---|
85 | |
---|
86 | #ifdef HAVE_FGLM |
---|
87 | // templates for fglm: |
---|
88 | |
---|
89 | template class List<fglmSelem>; |
---|
90 | template class ListIterator<fglmSelem>; |
---|
91 | |
---|
92 | template class List<fglmDelem>; |
---|
93 | template class ListIterator<fglmDelem>; |
---|
94 | |
---|
95 | #endif |
---|