Ignore:
Timestamp:
Jul 16, 1996, 2:24:57 PM (27 years ago)
Author:
Rüdiger Stobbe <stobbe@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
70161e0eb6f97b4a4008f8a9dee8629adf6bb83c
Parents:
b4e0579fccaa2c1ecd567dfc168f75ef1795e42c
Message:
"operators += and *= deleted sincethey are not needed in an general
array class als well as the functions sum, prod, crossprod.
"


git-svn-id: file:///usr/local/Singular/svn/trunk@45 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/templates/ftmpl_array.h

    rb4e057 r9f2b6f  
    11// emacs edit mode for this file is -*- C++ -*-
    2 // $Id: ftmpl_array.h,v 1.0 1996-05-17 11:06:32 stobbe Exp $
     2// $Id: ftmpl_array.h,v 1.1 1996-07-16 12:24:57 stobbe Exp $
    33
    44#ifndef INCL_ARRAY_H
     
    77/*
    88$Log: not supported by cvs2svn $
     9Revision 1.0  1996/05/17 11:06:32  stobbe
     10Initial revision
     11
    912*/
    1013
     
    2932    int min() const;
    3033    int max() const;
    31     Array<T>& operator*= ( const T& );
    32     Array<T>& operator+= ( const T& );
    33     Array<T>& operator+= ( const Array<T>& );
    3434    void print ( ostream& ) const;
    3535};
     
    3838ostream& operator<< ( ostream & os, const Array<T> & a );
    3939
    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 
    5740#endif /* INCL_ARRAY_H */
Note: See TracChangeset for help on using the changeset viewer.