source: git/factory/ftmpl_inst.cc @ 4447a0

spielwiese
Last change on this file since 4447a0 was 4447a0, checked in by Hans Schoenemann <hannes@…>, 12 years ago
fix: more templates for libfac
  • Property mode set to 100644
File size: 3.5 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 ListItem<Variable>;
51template class ListIterator<Variable> ;
52template class List<int>;
53template class ListItem<int>;
54template class ListIterator<int>;
55template class List< List<int> >;
56template class ListItem< List<int> >;
57template class ListIterator< List<int> >;
58template class List< List<CanonicalForm> >;
59template class ListIterator< List<CanonicalForm> >;
60
61
62template List<Variable> Union ( const List<Variable>&, const List<Variable>& );
63template List<Variable> Difference ( const List<Variable>&, const List<Variable>& );
64
65//}}}
66
67//{{{ explicit template function instantiations
68#ifndef NOSTREAMIO
69template OSTREAM & operator << ( OSTREAM &, const List<CanonicalForm> & );
70template OSTREAM & operator << ( OSTREAM &, const List<CFFactor> & );
71template OSTREAM & operator << ( OSTREAM &, const List<MapPair> & );
72template OSTREAM & operator << ( OSTREAM &, const Array<CanonicalForm> & );
73template OSTREAM & operator << ( OSTREAM &, const Factor<CanonicalForm> & );
74template OSTREAM & operator << ( OSTREAM &, const Matrix<CanonicalForm> & );
75template OSTREAM & operator << ( OSTREAM &, const Array<REvaluation> & );
76#endif /* NOSTREAMIO */
77
78template int operator == ( const Factor<CanonicalForm> &, const Factor<CanonicalForm> & );
79
80template List<CFFactor> Union ( const List<CFFactor> &, const List<CFFactor> & );
81
82#if ! defined(WINNT) || defined(__GNUC__)
83template CanonicalForm tmax ( const CanonicalForm &, const CanonicalForm & );
84template CanonicalForm tmin ( const CanonicalForm &, const CanonicalForm & );
85
86template Variable tmax ( const Variable &, const Variable & );
87template Variable tmin ( const Variable &, const Variable & );
88
89template int tmax ( const int &, const int & );
90template int tmin ( const int &, const int & );
91template int tabs ( const int & );
92#endif
93//}}}
94
95//
96template List<CanonicalForm> Union ( const List<CanonicalForm> &, const List<CanonicalForm> & );
97template List<CanonicalForm> Difference ( const List<CanonicalForm> &, const List<CanonicalForm> & );
98template CanonicalForm prod ( const List<CanonicalForm> & );
99template bool find ( const List<CanonicalForm> &, const CanonicalForm&);
100// place here your own template stuff, not yet instantiated by factory
101//
Note: See TracBrowser for help on using the repository browser.