source: git/factory/ftmpl_inst.cc @ 9dbf5c

fieker-DuValspielwiese
Last change on this file since 9dbf5c was 32248f, checked in by Oleksandr Motsak <motsak@…>, 12 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
RevLine 
[f8179c]1/* emacs edit mode for this file is -*- C++ -*- */
[341696]2/* $Id$ */
[e8e516]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//}}}
[f8179c]13
[e4fe2b]14#include "config.h"
[f8179c]15
[32248f]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"
[f8179c]23
[1450c9]24
[e4fe2b]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
[31a2be7]31
[e8e516]32//{{{ explicit template class instantiations
[f8179c]33template class Factor<CanonicalForm>;
34template class List<CFFactor>;
[e8e516]35template class ListItem<CFFactor>;
[f8179c]36template class ListIterator<CFFactor>;
37template class List<CanonicalForm>;
[e8e516]38template class ListItem<CanonicalForm>;
[f8179c]39template class ListIterator<CanonicalForm>;
40template class Array<CanonicalForm>;
41template class List<MapPair>;
[e8e516]42template class ListItem<MapPair>;
[f8179c]43template class ListIterator<MapPair>;
44template class Matrix<CanonicalForm>;
45template class SubMatrix<CanonicalForm>;
46template class Array<REvaluation>;
[e8e516]47//}}}
[f8179c]48
[e8e516]49//{{{ explicit template function instantiations
[f8179c]50#ifndef NOSTREAMIO
[181148]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> & );
[f8179c]58#endif /* NOSTREAMIO */
59
[e8e516]60template int operator == ( const Factor<CanonicalForm> &, const Factor<CanonicalForm> & );
[f8179c]61
[e8e516]62template List<CFFactor> Union ( const List<CFFactor> &, const List<CFFactor> & );
[f8179c]63
[dd19ed]64#if ! defined(WINNT) || defined(__GNUC__)
[e8e516]65template CanonicalForm tmax ( const CanonicalForm &, const CanonicalForm & );
66template CanonicalForm tmin ( const CanonicalForm &, const CanonicalForm & );
[f8179c]67
[b240ff]68template Variable tmax ( const Variable &, const Variable & );
69template Variable tmin ( const Variable &, const Variable & );
70
[e8e516]71template int tmax ( const int &, const int & );
72template int tmin ( const int &, const int & );
[dac412]73template int tabs ( const int & );
[31a2be7]74#endif
[e8e516]75//}}}
[f8179c]76
[e8e516]77//
[c48e80]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&);
[e8e516]82// place here your own template stuff, not yet instantiated by factory
83//
Note: See TracBrowser for help on using the repository browser.