source: git/factory/ftmpl_inst.cc @ f40e20

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