source: git/factory/ftmpl_inst.cc @ 1d277d

jengelh-datetimespielwiese
Last change on this file since 1d277d was 1d277d, checked in by Hans Schoenemann <hannes@…>, 10 years ago
fix: template instantiation for libfac Conflicts: libfac/factor/tmpl_inst.cc
  • Property mode set to 100644
File size: 3.4 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_factor.cc"
26#include "templates/ftmpl_list.cc"
27#include "templates/ftmpl_functions.h"
28#include "templates/ftmpl_matrix.cc"
29
30
31//{{{ explicit template class instantiations
32template class Factor<CanonicalForm>;
33template class List<CFFactor>;
34template class ListItem<CFFactor>;
35template class ListIterator<CFFactor>;
36template class List<CanonicalForm>;
37template class ListItem<CanonicalForm>;
38template class ListIterator<CanonicalForm>;
39template class Array<CanonicalForm>;
40template class List<MapPair>;
41template class ListItem<MapPair>;
42template class ListIterator<MapPair>;
43template class Matrix<CanonicalForm>;
44template class SubMatrix<CanonicalForm>;
45template class Array<REvaluation>;
46// libfac:
47template class Array<int>;
48template class Array<Variable>;
49template class List<Variable>;
50template class ListIterator<Variable> ;
51template class List<int>;
52template class ListIterator<int>;
53template class List< List<int> >;
54template class ListIterator< List<int> >;
55template class List< List<CanonicalForm> >;
56template class ListIterator< List<CanonicalForm> >;
57
58
59template List<Variable> Union ( const List<Variable>&, const List<Variable>& );
60template List<Variable> Difference ( const List<Variable>&, const List<Variable>& );
61
62//}}}
63
64//{{{ explicit template function instantiations
65#ifndef NOSTREAMIO
66template OSTREAM & operator << ( OSTREAM &, const List<CanonicalForm> & );
67template OSTREAM & operator << ( OSTREAM &, const List<CFFactor> & );
68template OSTREAM & operator << ( OSTREAM &, const List<MapPair> & );
69template OSTREAM & operator << ( OSTREAM &, const Array<CanonicalForm> & );
70template OSTREAM & operator << ( OSTREAM &, const Factor<CanonicalForm> & );
71template OSTREAM & operator << ( OSTREAM &, const Matrix<CanonicalForm> & );
72template OSTREAM & operator << ( OSTREAM &, const Array<REvaluation> & );
73#endif /* NOSTREAMIO */
74
75template int operator == ( const Factor<CanonicalForm> &, const Factor<CanonicalForm> & );
76
77template List<CFFactor> Union ( const List<CFFactor> &, const List<CFFactor> & );
78
79#if ! defined(WINNT) || defined(__GNUC__)
80template CanonicalForm tmax ( const CanonicalForm &, const CanonicalForm & );
81template CanonicalForm tmin ( const CanonicalForm &, const CanonicalForm & );
82
83template Variable tmax ( const Variable &, const Variable & );
84template Variable tmin ( const Variable &, const Variable & );
85
86template int tmax ( const int &, const int & );
87template int tmin ( const int &, const int & );
88template int tabs ( const int & );
89#endif
90//}}}
91
92//
93template List<CanonicalForm> Union ( const List<CanonicalForm> &, const List<CanonicalForm> & );
94template List<CanonicalForm> Difference ( const List<CanonicalForm> &, const List<CanonicalForm> & );
95template CanonicalForm prod ( const List<CanonicalForm> & );
96template bool find ( const List<CanonicalForm> &, const CanonicalForm&);
97// place here your own template stuff, not yet instantiated by factory
98//
Note: See TracBrowser for help on using the repository browser.