Changeset 997ae52 in git
- Timestamp:
- Mar 26, 1997, 5:48:36 PM (27 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- d6b0b14b77fa6a69e4beb1c09ce716036ba69df5
- Parents:
- 3bf64a6be55854dd9a9618cc52e5d25706567565
- Location:
- factory
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_map.cc
r3bf64a6 r997ae52 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: cf_map.cc,v 1. 1 1996-07-08 08:17:22 stobbeExp $2 // $Id: cf_map.cc,v 1.2 1997-03-26 16:47:32 schmidt Exp $ 3 3 4 4 /* 5 5 $Log: not supported by cvs2svn $ 6 Revision 1.1 1996/07/08 08:17:22 stobbe 7 "New function compress( f, g, M, N ) that maps the common variables to be 8 the ones with the lowest level. 9 " 10 6 11 Revision 1.0 1996/05/17 10:59:44 stobbe 7 12 Initial revision … … 10 15 11 16 #include "assert.h" 17 12 18 #include "cf_defs.h" 19 13 20 #include "cf_map.h" 14 21 #include "cf_iter.h" … … 30 37 } 31 38 39 #ifndef NOSTREAMIO 32 40 ostream& 33 41 operator << ( ostream& s, const MapPair & p ) … … 36 44 return s; 37 45 } 46 #endif /* NOSTREAMIO */ 38 47 39 48 CFMap::CFMap ( const List<CanonicalForm> & L ) … … 66 75 } 67 76 77 #ifndef NOSTREAMIO 68 78 ostream& 69 79 operator<< ( ostream& s, const CFMap & m ) … … 83 93 return s; 84 94 } 95 #endif /* NOSTREAMIO */ 85 96 86 97 CanonicalForm … … 215 226 return f; 216 227 } 217 218 -
factory/cf_map.h
r3bf64a6 r997ae52 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: cf_map.h,v 1. 1 1996-07-08 08:17:22 stobbeExp $2 // $Id: cf_map.h,v 1.2 1997-03-26 16:48:36 schmidt Exp $ 3 3 4 4 #ifndef INCL_CF_MAP_H … … 7 7 /* 8 8 $Log: not supported by cvs2svn $ 9 Revision 1.1 1996/07/08 08:17:22 stobbe 10 "New function compress( f, g, M, N ) that maps the common variables to be 11 the ones with the lowest level. 12 " 13 9 14 Revision 1.0 1996/05/17 10:59:38 stobbe 10 15 Initial revision … … 12 17 */ 13 18 19 #ifndef NOSTREAMIO 14 20 #include <iostream.h> 21 #endif /* NOSTREAMIO */ 22 15 23 #include "variable.h" 16 24 #include "templates/list.h" … … 32 40 Variable var() const { return V; } 33 41 CanonicalForm subst() const { return S; } 42 #ifndef NOSTREAMIO 34 43 friend ostream& operator << ( ostream& s, const MapPair & p ); 44 #endif /* NOSTREAMIO */ 35 45 }; 36 46 … … 54 64 void newpair( const Variable & v, const CanonicalForm & s ); 55 65 CanonicalForm operator() ( const CanonicalForm & f ) const; 66 #ifndef NOSTREAMIO 56 67 friend ostream& operator<< ( ostream& s, const CFMap & m ); 68 #endif /* NOSTREAMIO */ 57 69 }; 58 70 … … 64 76 65 77 #endif /* INCL_CF_MAP_H */ 66
Note: See TracChangeset
for help on using the changeset viewer.