Changeset 9f2b6f in git for factory/templates/ftmpl_array.h
- Timestamp:
- Jul 16, 1996, 2:24:57 PM (27 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 70161e0eb6f97b4a4008f8a9dee8629adf6bb83c
- Parents:
- b4e0579fccaa2c1ecd567dfc168f75ef1795e42c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/templates/ftmpl_array.h
rb4e057 r9f2b6f 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: ftmpl_array.h,v 1. 0 1996-05-17 11:06:32stobbe Exp $2 // $Id: ftmpl_array.h,v 1.1 1996-07-16 12:24:57 stobbe Exp $ 3 3 4 4 #ifndef INCL_ARRAY_H … … 7 7 /* 8 8 $Log: not supported by cvs2svn $ 9 Revision 1.0 1996/05/17 11:06:32 stobbe 10 Initial revision 11 9 12 */ 10 13 … … 29 32 int min() const; 30 33 int max() const; 31 Array<T>& operator*= ( const T& );32 Array<T>& operator+= ( const T& );33 Array<T>& operator+= ( const Array<T>& );34 34 void print ( ostream& ) const; 35 35 }; … … 38 38 ostream& operator<< ( ostream & os, const Array<T> & a ); 39 39 40 template <class T>41 T sum ( const Array<T>&, int f, int l );42 43 template <class T>44 T prod ( const Array<T>&, int f, int l );45 46 // and because HP CC does not support default arguments in templates:47 48 template <class T>49 T sum ( const Array<T>& );50 51 template <class T>52 T prod ( const Array<T>& );53 54 template <class T>55 T crossprod ( const Array<T>&, const Array<T>& );56 57 40 #endif /* INCL_ARRAY_H */
Note: See TracChangeset
for help on using the changeset viewer.