Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

tnt_array1d_utils.h

Go to the documentation of this file.
00001 /*
00002 *
00003 * Template Numerical Toolkit (TNT)
00004 *
00005 * Mathematical and Computational Sciences Division
00006 * National Institute of Technology,
00007 * Gaithersburg, MD USA
00008 *
00009 *
00010 * This software was developed at the National Institute of Standards and
00011 * Technology (NIST) by employees of the Federal Government in the course
00012 * of their official duties. Pursuant to title 17 Section 105 of the
00013 * United States Code, this software is not subject to copyright protection
00014 * and is in the public domain. NIST assumes no responsibility whatsoever for
00015 * its use by other parties, and makes no guarantees, expressed or implied,
00016 * about its quality, reliability, or any other characteristic.
00017 *
00018 */
00019 
00020 #ifndef TNT_ARRAY1D_UTILS_H
00021 #define TNT_ARRAY1D_UTILS_H
00022 
00023 #include <cstdlib>
00024 #include <cassert>
00025 
00026 namespace TNT
00027 {
00028 
00029 
00037 template <class T>
00038 std::ostream& operator<<(std::ostream &s, const Array1D<T> &A);
00039 
00054 template <class T>
00055 std::istream& operator>>(std::istream &s, Array1D<T> &A);
00056 
00068 template <class T>
00069 Array1D<T> operator+(const Array1D<T> &A, const Array1D<T> &B);
00070 
00071 
00083 template <class T>
00084 Array1D<T> operator-(const Array1D<T> &A, const Array1D<T> &B);
00085 
00086 
00098 template <class T>
00099 Array1D<T> operator*(const Array1D<T> &A, const Array1D<T> &B);
00100 
00112 template <class T>
00113 Array1D<T> operator/(const Array1D<T> &A, const Array1D<T> &B);
00114 
00115 
00116 
00117 
00118 
00119 
00120 
00132 template <class T>
00133 Array1D<T>&  operator+=(Array1D<T> &A, const Array1D<T> &B);
00134 
00135 
00147 template <class T>
00148 Array1D<T>&  operator-=(Array1D<T> &A, const Array1D<T> &B);
00149 
00150 
00162 template <class T>
00163 Array1D<T>&  operator*=(Array1D<T> &A, const Array1D<T> &B);
00164 
00176 template <class T>
00177 Array1D<T>&  operator/=(Array1D<T> &A, const Array1D<T> &B);
00178 
00179 
00180 
00181 
00182 
00183 } // namespace TNT
00184 
00185 #endif

Generated at Thu Jun 26 17:26:14 2003 for Template Numerical Toolkit (TNT) by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001