CS代考 tnt_array3d.h Source File

tnt_array3d.h Source File

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

Copyright By PowCoder代写 加微信 powcoder

tnt_array3d.h
Go to the documentation of this file.00001 /*
00003 * Template Numerical Toolkit (TNT): Three-dimensional numerical array
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.
00022 #ifndef TNT_ARRAY3D_H
00023 #define TNT_ARRAY3D_H
00025 #include
00026 #include
00027 #ifdef TNT_BOUNDS_CHECK
00028 #include
00029 #endif
00031 namespace TNT
00059 template
00060 class Array3D
00064 private:
00066 public:
00068 typedef T value_type;
00070 Array3D();
00071 Array3D(int m, int n, int k);
00072 Array3D(int m, int n, int k, T *a);
00073 Array3D(int m, int n, int k, const T &a);
00074 inline Array3D(const Array3D &A);
00075 inline Array3D & operator=(const T &a);
00076 inline Array3D & operator=(const Array3D &A);
00077 inline Array3D & ref(const Array3D &A);
00078 Array3D copy() const;
00079 Array3D & inject(const Array3D & A);
00080 inline T** operator[](int i);
00081 inline const T* const * operator[](int i) const;
00082 inline int dim1() const;
00083 inline int dim2() const;
00084 inline int dim3() const;
00085 ~Array3D();
00093 template
00094 Array3D::Array3D();
00103 template
00104 Array3D::Array3D(const Array3D &A);
00120 template
00121 Array3D::Array3D(int m, int n, int k);
00135 template
00136 Array3D::Array3D(int m, int n, int k, const T &val);
00152 template
00153 Array3D::Array3D(int m, int n, int k, T *a) ;
00165 template
00166 inline T** Array3D::operator[](int i) ;
00168 template
00169 inline const T* const * Array3D::operator[](int i) const;
00174 template
00175 Array3D & Array3D::operator=(const T &a);
00184 template
00185 Array3D Array3D::copy() const;
00211 template
00212 Array3D & Array3D::inject(const Array3D &A);
00227 template
00228 Array3D & Array3D::ref(const Array3D &A);
00234 template
00235 Array3D & Array3D::operator=(const Array3D &A);
00240 template
00241 inline int Array3D::dim1() const ;
00246 template
00247 inline int Array3D::dim2() const ;
00252 template
00253 inline int Array3D::dim3() const ;
00257 template
00258 Array3D::~Array3D()
00261 } /* namespace TNT */
00263 #endif
00264 /* TNT_ARRAY3D_H */

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