source: git/factory/ftmpl_inst.cc @ f78374

spielwiese
Last change on this file since f78374 was 1450c9, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
FIX: moved interpreter-related FGLM declarations to Singular/fglm.h FIX: List template requires an "factory/templates/ftmpl_list.cc" include - UGLY!!!
  • Property mode set to 100644
File size: 2.7 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 "factoryconf.h"
17
18#include "factory.h"
19
20#include "templates/ftmpl_array.cc"
21#include "templates/ftmpl_factor.cc"
22#include "templates/ftmpl_list.cc"
23#include "templates/ftmpl_functions.h"
24#include "templates/ftmpl_matrix.cc"
25
26
27//{{{ explicit template class instantiations
28template class Factor<CanonicalForm>;
29template class List<CFFactor>;
30template class ListItem<CFFactor>;
31template class ListIterator<CFFactor>;
32template class List<CanonicalForm>;
33template class ListItem<CanonicalForm>;
34template class ListIterator<CanonicalForm>;
35template class Array<CanonicalForm>;
36template class List<MapPair>;
37template class ListItem<MapPair>;
38template class ListIterator<MapPair>;
39template class Matrix<CanonicalForm>;
40template class SubMatrix<CanonicalForm>;
41template class Array<REvaluation>;
42//}}}
43
44//{{{ explicit template function instantiations
45#ifndef NOSTREAMIO
46template OSTREAM & operator << ( OSTREAM &, const List<CanonicalForm> & );
47template OSTREAM & operator << ( OSTREAM &, const List<CFFactor> & );
48template OSTREAM & operator << ( OSTREAM &, const List<MapPair> & );
49template OSTREAM & operator << ( OSTREAM &, const Array<CanonicalForm> & );
50template OSTREAM & operator << ( OSTREAM &, const Factor<CanonicalForm> & );
51template OSTREAM & operator << ( OSTREAM &, const Matrix<CanonicalForm> & );
52template OSTREAM & operator << ( OSTREAM &, const Array<REvaluation> & );
53#endif /* NOSTREAMIO */
54
55template int operator == ( const Factor<CanonicalForm> &, const Factor<CanonicalForm> & );
56
57template List<CFFactor> Union ( const List<CFFactor> &, const List<CFFactor> & );
58
59#if ! defined(WINNT) || defined(__GNUC__)
60template CanonicalForm tmax ( const CanonicalForm &, const CanonicalForm & );
61template CanonicalForm tmin ( const CanonicalForm &, const CanonicalForm & );
62
63template Variable tmax ( const Variable &, const Variable & );
64template Variable tmin ( const Variable &, const Variable & );
65
66template int tmax ( const int &, const int & );
67template int tmin ( const int &, const int & );
68template int tabs ( const int & );
69#endif
70//}}}
71
72//
73template List<CanonicalForm> Union ( const List<CanonicalForm> &, const List<CanonicalForm> & );
74template List<CanonicalForm> Difference ( const List<CanonicalForm> &, const List<CanonicalForm> & );
75template CanonicalForm prod ( const List<CanonicalForm> & );
76template bool find ( const List<CanonicalForm> &, const CanonicalForm&);
77// place here your own template stuff, not yet instantiated by factory
78//
Note: See TracBrowser for help on using the repository browser.