source: git/factory/ftmpl_inst.cc @ 08a955

spielwiese
Last change on this file since 08a955 was 102a88e, checked in by Martin Lee <martinlee84@…>, 11 years ago
chg: added more functions to templates
  • Property mode set to 100644
File size: 3.8 KB
Line 
1/* emacs edit mode for this file is -*- C++ -*- */
2
3//{{{ docu
4//
5// ftmpl_inst.cc - Factory's template instantiations.
6//
7// For a detailed description how to instantiate Factory's
8// template classes and functions and how to add new
9// instantiations see the `README' file.
10//
11//}}}
12
13#include "config.h"
14
15// #include <factory/factoryconf.h>
16// #include "factory.h"
17#include "cf_iter.h"
18#include "canonicalform.h"
19#include "cf_assert.h"
20#include "cf_reval.h"
21#include "cf_map.h"
22
23
24#include "templates/ftmpl_array.cc"
25#include "templates/ftmpl_afactor.cc"
26#include "templates/ftmpl_factor.cc"
27#include "templates/ftmpl_list.cc"
28#include "templates/ftmpl_functions.h"
29#include "templates/ftmpl_matrix.cc"
30
31
32//{{{ explicit template class instantiations
33template class Factor<CanonicalForm>;
34template class List<CFFactor>;
35template class ListItem<CFFactor>;
36template class ListIterator<CFFactor>;
37template class AFactor<CanonicalForm>;
38template class List<CFAFactor>;
39template class ListItem<CFAFactor>;
40template class ListIterator<CFAFactor>;
41template class List<CanonicalForm>;
42template class ListItem<CanonicalForm>;
43template class ListIterator<CanonicalForm>;
44template class Array<CanonicalForm>;
45template class List<MapPair>;
46template class ListItem<MapPair>;
47template class ListIterator<MapPair>;
48template class Matrix<CanonicalForm>;
49template class SubMatrix<CanonicalForm>;
50template class Array<REvaluation>;
51// libfac:
52template class Array<int>;
53template class Array<Variable>;
54template class List<Variable>;
55template class ListItem<Variable>;
56template class ListIterator<Variable> ;
57template class List<int>;
58template class ListItem<int>;
59template class ListIterator<int>;
60template class List< List<int> >;
61template class ListItem< List<int> >;
62template class ListIterator< List<int> >;
63template class List< List<CanonicalForm> >;
64template class ListIterator< List<CanonicalForm> >;
65
66
67template List<Variable> Union ( const List<Variable>&, const List<Variable>& );
68template List<Variable> Difference ( const List<Variable>&, const List<Variable>& );
69
70//}}}
71
72//{{{ explicit template function instantiations
73#ifndef NOSTREAMIO
74template OSTREAM & operator << ( OSTREAM &, const List<CanonicalForm> & );
75template OSTREAM & operator << ( OSTREAM &, const List<CFFactor> & );
76template OSTREAM & operator << ( OSTREAM &, const List<MapPair> & );
77template OSTREAM & operator << ( OSTREAM &, const Array<CanonicalForm> & );
78template OSTREAM & operator << ( OSTREAM &, const Factor<CanonicalForm> & );
79template OSTREAM & operator << ( OSTREAM &, const Matrix<CanonicalForm> & );
80template OSTREAM & operator << ( OSTREAM &, const Array<REvaluation> & );
81#endif /* NOSTREAMIO */
82
83template int operator == ( const Factor<CanonicalForm> &, const Factor<CanonicalForm> & );
84template int operator == ( const AFactor<CanonicalForm> &, const AFactor<CanonicalForm> & );
85
86template List<CFFactor> Union ( const List<CFFactor> &, const List<CFFactor> & );
87template List<CFAFactor> Union ( const List<CFAFactor> &, const List<CFAFactor> & );
88
89#if ! defined(WINNT) || defined(__GNUC__)
90template CanonicalForm tmax ( const CanonicalForm &, const CanonicalForm & );
91template CanonicalForm tmin ( const CanonicalForm &, const CanonicalForm & );
92
93template Variable tmax ( const Variable &, const Variable & );
94template Variable tmin ( const Variable &, const Variable & );
95
96template int tmax ( const int &, const int & );
97template int tmin ( const int &, const int & );
98template int tabs ( const int & );
99#endif
100//}}}
101
102//
103template List<CanonicalForm> Union ( const List<CanonicalForm> &, const List<CanonicalForm> & );
104template List<CanonicalForm> Difference ( const List<CanonicalForm> &, const List<CanonicalForm> & );
105template CanonicalForm prod ( const List<CanonicalForm> & );
106template bool find ( const List<CanonicalForm> &, const CanonicalForm&);
107// place here your own template stuff, not yet instantiated by factory
108//
Note: See TracBrowser for help on using the repository browser.