[SOLVED] CS tnt_fortran_array1d.h Source File

$25

File Name: CS_tnt_fortran_array1d.h_Source_File.zip
File Size: 339.12 KB

5/5 - (1 vote)

tnt_fortran_array1d.h Source File

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

Copyright By Assignmentchef assignmentchef

tnt_fortran_array1d.h
Go to the documentation of this file.00001 /*
00003 * Template Numerical Toolkit (TNT): One-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_ARRAY1D_H
00023 #define TNT_FORTRAN_ARRAY1D_H
00025 #include
00026 #include
00027 #ifdef TNT_BOUNDS_CHECK
00028 #include
00029 #endif
00030 #include tnt_array1d.h
00032 namespace TNT
00058 template
00059 class Fortran_Array1D
00063 public:
00065 typedef T value_type;
00067Fortran_Array1D();
00068Fortran_Array1D(int n);
00069Fortran_Array1D(int n,T *a);
00070Fortran_Array1D(int n, const T &a);
00071 inline Fortran_Array1D(const Fortran_Array1D &A);
00072 inline Fortran_Array1D & operator=(const T &a);
00073 inline Fortran_Array1D & operator=(const Fortran_Array1D &A);
00074 inline Fortran_Array1D & ref(const Fortran_Array1D &A);
00075Fortran_Array1D copy() const;
00076Fortran_Array1D & inject(const Fortran_Array1D & A);
00077 inline T& operator()(int i);
00078 inline const T& operator()(int i) const ;
00079 inline int dim() const;
00080 inline int dim1() const;
00081 inline int ref_count() const;
00082~Fortran_Array1D();
00090 template
00091 Fortran_Array1D ::Fortran_Array1D();
00100 template
00101 Fortran_Array1D ::Fortran_Array1D(const Fortran_Array1D &A);
00115 template
00116 Fortran_Array1D ::Fortran_Array1D(int n);
00128 template
00129 Fortran_Array1D ::Fortran_Array1D(int n, const T &val);
00142 template
00143 Fortran_Array1D ::Fortran_Array1D(int n, T *a);
00155 template
00156 inline T& Fortran_Array1D ::operator()(int i) ;
00165 template
00166 inline const T& Fortran_Array1D ::operator()(int i)const;
00172 template
00173 Fortran_Array1D & Fortran_Array1D ::operator=(const T &a);
00181 template
00182 Fortran_Array1D Fortran_Array1D ::copy() const;
00207 template
00208 Fortran_Array1D & Fortran_Array1D ::inject(const Fortran_Array1D &A);
00224 template
00225 Fortran_Array1D & Fortran_Array1D ::ref(const Fortran_Array1D &A);
00230 template
00231 Fortran_Array1D & Fortran_Array1D ::operator=(const Fortran_Array1D &A);
00236 template
00237 inline int Fortran_Array1D ::dim1() const ;
00243 template
00244 inline int Fortran_Array1D ::dim() const ;
00249 template
00250 Fortran_Array1D ::~Fortran_Array1D();
00255 } /* namespace TNT */
00257 #endif
00258 /* TNT_FORTRAN_ARRAY1D_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: assignmentchef QQ: 1823890830 Email: [email protected]

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS tnt_fortran_array1d.h Source File
$25