source: git/factory/ftmpl_inst.cc @ 32248f

jengelh-datetimespielwiese
Last change on this file since 32248f was 32248f, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
removed duplicating template instantiations from factory/libfac/factor/tmpl_inst.cc FIX: same template instantiations in factory/libfac/factor/tmpl_inst.cc and factory/ftmpl_inst.cc CHG: one should not include "factory.h/factoryconf.h" within internal factory code
  • Property mode set to 100644
File size: 2.8 KB
Line 
1/* emacs edit mode for this file is -*- C++ -*- */
2/* $Id$ */
3
4//{{{ docu
5//
6// ftmpl_inst.cc - Factory's template instantiations.
7//
8// For a detailed description how to instantiate Factory's
9// template classes and functions and how to add new
10// instantiations see the `README' file.
11//
12//}}}
13
14#include "config.h"
15
16// #include <factory/factoryconf.h>
17// #include "factory.h"
18#include "cf_iter.h"
19#include "canonicalform.h"
20#include "cf_assert.h"
21#include "cf_reval.h"
22#include "cf_map.h"
23
24
25#include "templates/ftmpl_array.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 List<CanonicalForm>;
38template class ListItem<CanonicalForm>;
39template class ListIterator<CanonicalForm>;
40template class Array<CanonicalForm>;
41template class List<MapPair>;
42template class ListItem<MapPair>;
43template class ListIterator<MapPair>;
44template class Matrix<CanonicalForm>;
45template class SubMatrix<CanonicalForm>;
46template class Array<REvaluation>;
47//}}}
48
49//{{{ explicit template function instantiations
50#ifndef NOSTREAMIO
51template OSTREAM & operator << ( OSTREAM &, const List<CanonicalForm> & );
52template OSTREAM & operator << ( OSTREAM &, const List<CFFactor> & );
53template OSTREAM & operator << ( OSTREAM &, const List<MapPair> & );
54template OSTREAM & operator << ( OSTREAM &, const Array<CanonicalForm> & );
55template OSTREAM & operator << ( OSTREAM &, const Factor<CanonicalForm> & );
56template OSTREAM & operator << ( OSTREAM &, const Matrix<CanonicalForm> & );
57template OSTREAM & operator << ( OSTREAM &, const Array<REvaluation> & );
58#endif /* NOSTREAMIO */
59
60template int operator == ( const Factor<CanonicalForm> &, const Factor<CanonicalForm> & );
61
62template List<CFFactor> Union ( const List<CFFactor> &, const List<CFFactor> & );
63
64#if ! defined(WINNT) || defined(__GNUC__)
65template CanonicalForm tmax ( const CanonicalForm &, const CanonicalForm & );
66template CanonicalForm tmin ( const CanonicalForm &, const CanonicalForm & );
67
68template Variable tmax ( const Variable &, const Variable & );
69template Variable tmin ( const Variable &, const Variable & );
70
71template int tmax ( const int &, const int & );
72template int tmin ( const int &, const int & );
73template int tabs ( const int & );
74#endif
75//}}}
76
77//
78template List<CanonicalForm> Union ( const List<CanonicalForm> &, const List<CanonicalForm> & );
79template List<CanonicalForm> Difference ( const List<CanonicalForm> &, const List<CanonicalForm> & );
80template CanonicalForm prod ( const List<CanonicalForm> & );
81template bool find ( const List<CanonicalForm> &, const CanonicalForm&);
82// place here your own template stuff, not yet instantiated by factory
83//
Note: See TracBrowser for help on using the repository browser.