#include <nrutil_mtl.h>
Public Member Functions | |
| NRMat3d () | |
| NRMat3d (int n, int m, int k) | |
| T ** | operator[] (const int i) |
| const T *const * | operator[] (const int i) const |
| int | dim1 () const |
| int | dim2 () const |
| int | dim3 () const |
| ~NRMat3d () | |
| NRMat3d () | |
| NRMat3d (int n, int m, int k) | |
| T ** | operator[] (const int i) |
| const T *const * | operator[] (const int i) const |
| int | dim1 () const |
| int | dim2 () const |
| int | dim3 () const |
| ~NRMat3d () | |
| NRMat3d () | |
| NRMat3d (int n, int m, int k) | |
| T ** | operator[] (const int i) |
| const T *const * | operator[] (const int i) const |
| int | dim1 () const |
| int | dim2 () const |
| int | dim3 () const |
| ~NRMat3d () | |
| NRMat3d () | |
| NRMat3d (int n, int m, int k) | |
| T ** | operator[] (const int i) |
| const T *const * | operator[] (const int i) const |
| int | dim1 () const |
| int | dim2 () const |
| int | dim3 () const |
| ~NRMat3d () | |
Private Attributes | |
| int | nn |
| int | mm |
| int | kk |
| T *** | v |
| T *** | v |
| T *** | v |
| T *** | v |
|
|||||||||
|
Definition at line 193 of file nrutil_mtl.h.
|
|
||||||||||||||||||||
|
Definition at line 196 of file nrutil_mtl.h. References NRMat3d< T >::v. 00196 : nn(n), mm(m), kk(k), v(new T**[n]) 00197 { 00198 int i,j; 00199 v[0] = new T*[n*m]; 00200 v[0][0] = new T[n*m*k]; 00201 for(j=1; j<m; j++) 00202 v[0][j] = v[0][j-1] + k; 00203 for(i=1; i<n; i++) { 00204 v[i] = v[i-1] + m; 00205 v[i][0] = v[i-1][0] + m*k; 00206 for(j=1; j<m; j++) 00207 v[i][j] = v[i][j-1] + k; 00208 } 00209 }
|
|
|||||||||
|
Definition at line 242 of file nrutil_mtl.h. References NRMat3d< T >::v. 00243 {
00244 if (v != 0) {
00245 delete[] (v[0][0]);
00246 delete[] (v[0]);
00247 delete[] (v);
00248 }
00249 }
|
|
|||||||||
|
|
|
||||||||||||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
Definition at line 224 of file nrutil_mtl.h. 00225 {
00226 return nn;
00227 }
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
Definition at line 230 of file nrutil_mtl.h. 00231 {
00232 return mm;
00233 }
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
Definition at line 236 of file nrutil_mtl.h. 00237 {
00238 return kk;
00239 }
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Definition at line 218 of file nrutil_mtl.h. References NRMat3d< T >::v. 00219 {
00220 return v[i];
00221 }
|
|
||||||||||
|
Definition at line 212 of file nrutil_mtl.h. References NRMat3d< T >::v. 00212 : pointer to row i
00213 {
00214 return v[i];
00215 }
|
|
|||||
|
Definition at line 205 of file nrutil_val.h. |
|
|||||
|
Definition at line 204 of file nrutil_val.h. |
|
|||||
|
Definition at line 203 of file nrutil_val.h. |
|
|||||
|
Definition at line 206 of file nrutil_val.h. |
|
|||||
|
Definition at line 138 of file nrutil_tnt.h. |
|
|||||
|
Definition at line 301 of file nrutil_nr.h. |
|
|||||
|
Definition at line 180 of file nrutil_mtl.h. Referenced by NRMat3d< T >::NRMat3d(), NRMat3d< T >::operator[](), and NRMat3d< T >::~NRMat3d(). |
1.3.9.1