[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] | 33 | template class Factor<CanonicalForm>; |
---|
| 34 | template class List<CFFactor>; |
---|
[e8e516] | 35 | template class ListItem<CFFactor>; |
---|
[f8179c] | 36 | template class ListIterator<CFFactor>; |
---|
| 37 | template class List<CanonicalForm>; |
---|
[e8e516] | 38 | template class ListItem<CanonicalForm>; |
---|
[f8179c] | 39 | template class ListIterator<CanonicalForm>; |
---|
| 40 | template class Array<CanonicalForm>; |
---|
| 41 | template class List<MapPair>; |
---|
[e8e516] | 42 | template class ListItem<MapPair>; |
---|
[f8179c] | 43 | template class ListIterator<MapPair>; |
---|
| 44 | template class Matrix<CanonicalForm>; |
---|
| 45 | template class SubMatrix<CanonicalForm>; |
---|
| 46 | template class Array<REvaluation>; |
---|
[e8e516] | 47 | //}}} |
---|
[f8179c] | 48 | |
---|
[e8e516] | 49 | //{{{ explicit template function instantiations |
---|
[f8179c] | 50 | #ifndef NOSTREAMIO |
---|
[181148] | 51 | template OSTREAM & operator << ( OSTREAM &, const List<CanonicalForm> & ); |
---|
| 52 | template OSTREAM & operator << ( OSTREAM &, const List<CFFactor> & ); |
---|
| 53 | template OSTREAM & operator << ( OSTREAM &, const List<MapPair> & ); |
---|
| 54 | template OSTREAM & operator << ( OSTREAM &, const Array<CanonicalForm> & ); |
---|
| 55 | template OSTREAM & operator << ( OSTREAM &, const Factor<CanonicalForm> & ); |
---|
| 56 | template OSTREAM & operator << ( OSTREAM &, const Matrix<CanonicalForm> & ); |
---|
| 57 | template OSTREAM & operator << ( OSTREAM &, const Array<REvaluation> & ); |
---|
[f8179c] | 58 | #endif /* NOSTREAMIO */ |
---|
| 59 | |
---|
[e8e516] | 60 | template int operator == ( const Factor<CanonicalForm> &, const Factor<CanonicalForm> & ); |
---|
[f8179c] | 61 | |
---|
[e8e516] | 62 | template List<CFFactor> Union ( const List<CFFactor> &, const List<CFFactor> & ); |
---|
[f8179c] | 63 | |
---|
[dd19ed] | 64 | #if ! defined(WINNT) || defined(__GNUC__) |
---|
[e8e516] | 65 | template CanonicalForm tmax ( const CanonicalForm &, const CanonicalForm & ); |
---|
| 66 | template CanonicalForm tmin ( const CanonicalForm &, const CanonicalForm & ); |
---|
[f8179c] | 67 | |
---|
[b240ff] | 68 | template Variable tmax ( const Variable &, const Variable & ); |
---|
| 69 | template Variable tmin ( const Variable &, const Variable & ); |
---|
| 70 | |
---|
[e8e516] | 71 | template int tmax ( const int &, const int & ); |
---|
| 72 | template int tmin ( const int &, const int & ); |
---|
[dac412] | 73 | template int tabs ( const int & ); |
---|
[31a2be7] | 74 | #endif |
---|
[e8e516] | 75 | //}}} |
---|
[f8179c] | 76 | |
---|
[e8e516] | 77 | // |
---|
[c48e80] | 78 | template List<CanonicalForm> Union ( const List<CanonicalForm> &, const List<CanonicalForm> & ); |
---|
| 79 | template List<CanonicalForm> Difference ( const List<CanonicalForm> &, const List<CanonicalForm> & ); |
---|
| 80 | template CanonicalForm prod ( const List<CanonicalForm> & ); |
---|
| 81 | template bool find ( const List<CanonicalForm> &, const CanonicalForm&); |
---|
[e8e516] | 82 | // place here your own template stuff, not yet instantiated by factory |
---|
| 83 | // |
---|