程序代写 tnt_array2d_utils.h Source File

tnt_array2d_utils.h Source File

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

Copyright By PowCoder代写 加微信 powcoder

tnt_array2d_utils.h
Go to the documentation of this file.00001 /*
00003 * Template Numerical Toolkit (TNT)
00005 * Mathematical and Computational Sciences Division
00006 * National Institute of Technology,
00007 * Gaithersburg, MD USA
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.
00021 #ifndef TNT_ARRAY2D_UTILS_H
00022 #define TNT_ARRAY2D_UTILS_H
00024 #include
00025 #include
00027 namespace TNT
00038 template
00039 std::ostream& operator<<(std::ostream &s, const Array2D &A)
00041 int M=A.dim1();
00042 int N=A.dim2();
00044 s << M << " " << N << "\n"; 00046 for (int i=0; i
00076 std::istream& operator>>(std::istream &s, Array2D &A);
00089 template
00090 Array2D operator+(const Array2D &A, const Array2D &B);
00103 template
00104 Array2D operator-(const Array2D &A, const Array2D &B);
00118 template
00119 Array2D operator*(const Array2D &A, const Array2D &B);
00134 template
00135 Array2D operator/(const Array2D &A, const Array2D &B);
00152 template
00153 Array2D& operator+=(Array2D &A, const Array2D &B);
00168 template
00169 Array2D& operator-=(Array2D &A, const Array2D &B);
00184 template
00185 Array2D& operator*=(Array2D &A, const Array2D &B);
00202 template
00203 Array2D& operator/=(Array2D &A, const Array2D &B);
00218 template
00219 Array2D matmult(const Array2D &A, const Array2D &B);
00221 } // namespace TNT
00223 #endif

Generated at Thu Jun 26 17:26:14 2003 for Template Numerical Toolkit (TNT) by

1.2.5 written by Dimitri van Heesch,
© 1997-2001

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com