代写代考 tnt_fortran_array2d.h Source File

tnt_fortran_array2d.h Source File

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

Copyright By PowCoder代写 加微信 powcoder

tnt_fortran_array2d.h
Go to the documentation of this file.00001 /*
00003 * Template Numerical Toolkit (TNT): Two-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_ARRAY2D_H
00023 #define TNT_FORTRAN_ARRAY2D_H
00025 #include
00026 #include
00028 #ifdef TNT_BOUNDS_CHECK
00029 #include
00030 #endif
00032 #include “tnt_array2d.h”
00034 namespace TNT
00062 template
00063 class Fortran_Array2D
00068 public:
00070 typedef T value_type;
00072 Fortran_Array2D();
00073 Fortran_Array2D(int m, int n);
00074 Fortran_Array2D(int m, int n, T *a);
00075 Fortran_Array2D(int m, int n, const T &a);
00076 inline Fortran_Array2D(const Fortran_Array2D &A);
00077 inline Fortran_Array2D & operator=(const T &a);
00078 inline Fortran_Array2D & operator=(const Fortran_Array2D &A);
00079 inline Fortran_Array2D & ref(const Fortran_Array2D &A);
00080 Fortran_Array2D copy() const;
00081 Fortran_Array2D & inject(const Fortran_Array2D & A);
00082 inline T& operator()(int i, int j);
00083 inline const T& operator()(int i, int j) const ;
00084 inline int dim1() const;
00085 inline int dim2() const;
00086 inline int ref_count() const;
00087 ~Fortran_Array2D();
00095 template
00096 Fortran_Array2D::Fortran_Array2D();
00105 template
00106 Fortran_Array2D::Fortran_Array2D(const Fortran_Array2D &A);
00121 template
00122 Fortran_Array2D::Fortran_Array2D(int m, int n);
00135 template
00136 Fortran_Array2D::Fortran_Array2D(int m, int n, const T &val);
00153 template
00154 Fortran_Array2D::Fortran_Array2D(int m, int n, T *a);
00166 template
00167 inline T& Fortran_Array2D::operator()(int i, int j) ;
00176 template
00177 inline const T& Fortran_Array2D::operator()(int i, int j) const;
00183 template
00184 Fortran_Array2D & Fortran_Array2D::operator=(const T &a);
00193 template
00194 Fortran_Array2D Fortran_Array2D::copy() const;
00220 template
00221 Fortran_Array2D & Fortran_Array2D::inject(const Fortran_Array2D &A);
00237 template
00238 Fortran_Array2D & Fortran_Array2D::ref(const Fortran_Array2D &A);
00243 template
00244 Fortran_Array2D & Fortran_Array2D::operator=(const Fortran_Array2D &A);
00249 template
00250 inline int Fortran_Array2D::dim1() const ;
00255 template
00256 inline int Fortran_Array2D::dim2() const ;
00264 template
00265 inline int Fortran_Array2D::ref_count() ;
00267 template
00268 Fortran_Array2D::~Fortran_Array2D();
00273 } /* namespace TNT */
00275 #endif
00276 /* TNT_FORTRAN_ARRAY2D_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