CS代写 tnt_fortran_array3d.h Source File

tnt_fortran_array3d.h Source File

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

Copyright By PowCoder代写 加微信 powcoder

tnt_fortran_array3d.h
Go to the documentation of this file.00001 /*
00003 * Template Numerical Toolkit (TNT): Three-dimensional Fortran 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_FORTRAN_ARRAY3D_H
00023 #define TNT_FORTRAN_ARRAY3D_H
00025 #include
00026 #include
00027 #ifdef TNT_BOUNDS_CHECK
00028 #include
00029 #endif
00030 #include “tnt_array3d.h”
00032 namespace TNT
00060 template
00061 class Fortran_Array3D
00065 private:
00069 public:
00071 typedef T value_type;
00073 Fortran_Array3D();
00074 Fortran_Array3D(int m, int n, int k);
00075 Fortran_Array3D(int m, int n, int k, T *a);
00076 Fortran_Array3D(int m, int n, int k, const T &a);
00077 inline Fortran_Array3D(const Fortran_Array3D &A);
00078 inline Fortran_Array3D & operator=(const T &a);
00079 inline Fortran_Array3D & operator=(const Fortran_Array3D &A);
00080 inline Fortran_Array3D & ref(const Fortran_Array3D &A);
00081 Fortran_Array3D copy() const;
00082 Fortran_Array3D & inject(const Fortran_Array3D & A);
00083 inline T& operator()(int i, int j, int k);
00084 inline const T& operator()(int i, int j, int k) const ;
00085 inline int dim1() const;
00086 inline int dim2() const;
00087 inline int dim3() const;
00088 inline int ref_count() const;
00089 ~Fortran_Array3D();
00097 template
00098 Fortran_Array3D::Fortran_Array3D();
00107 template
00108 Fortran_Array3D::Fortran_Array3D(const Fortran_Array3D &A);
00124 template
00125 Fortran_Array3D::Fortran_Array3D(int m, int n, int k);
00139 template
00140 Fortran_Array3D::Fortran_Array3D(int m, int n, int k, const T &val) ;
00156 template
00157 Fortran_Array3D::Fortran_Array3D(int m, int n, int k, T *a) ;
00169 template
00170 inline T& Fortran_Array3D::operator()(int i, int j, int k) ;
00179 template
00180 inline const T& Fortran_Array3D::operator()(int i, int j, int k) const;
00186 template
00187 Fortran_Array3D & Fortran_Array3D::operator=(const T &a);
00196 template
00197 Fortran_Array3D Fortran_Array3D::copy() const;
00222 template
00223 Fortran_Array3D & Fortran_Array3D::inject(const Fortran_Array3D &A);
00239 template
00240 Fortran_Array3D & Fortran_Array3D::ref(const Fortran_Array3D &A);
00245 template
00246 Fortran_Array3D & Fortran_Array3D::operator=(const Fortran_Array3D &A);
00251 template
00252 inline int Fortran_Array3D::dim1() const;
00257 template
00258 inline int Fortran_Array3D::dim2() const ;
00263 template
00264 inline int Fortran_Array3D::dim3() const ;
00271 template
00272 inline int Fortran_Array3D::ref_count() const;
00274 template
00275 Fortran_Array3D::~Fortran_Array3D();
00278 } /* namespace TNT */
00280 #endif
00281 /* TNT_FORTRAN_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