PLaSK library
Loading...
Searching...
No Matches
TNT::Array3D< T > Class Template Reference

#include <solvers/gain/wasiak/wzmocnienie/tnt/tnt_array3d.h>

Public Types

typedef T value_type
 

Public Member Functions

 Array3D ()
 
 Array3D (int m, int n, int g)
 
 Array3D (int m, int n, int g, T val)
 
 Array3D (int m, int n, int g, T *a)
 
 operator T*** ()
 
 operator const T *** ()
 
 Array3D (const Array3D &A)
 
Array3Doperator= (const T &a)
 
Array3Doperator= (const Array3D &A)
 
Array3Dref (const Array3D &A)
 
Array3D copy () const
 
Array3Dinject (const Array3D &A)
 
T ** operator[] (int i)
 
const T *const * operator[] (int i) const
 
int dim1 () const
 
int dim2 () const
 
int dim3 () const
 
 ~Array3D ()
 
int ref_count ()
 
Array3D subarray (int i0, int i1, int j0, int j1, int k0, int k1)
 

Detailed Description

template<class T>
class TNT::Array3D< T >

Definition at line 38 of file tnt_array3d.h.

Member Typedef Documentation

◆ value_type

template<class T >
typedef T TNT::Array3D< T >::value_type

Definition at line 52 of file tnt_array3d.h.

Constructor & Destructor Documentation

◆ Array3D() [1/5]

template<class T >
TNT::Array3D< T >::Array3D ( )

Definition at line 83 of file tnt_array3d.h.

◆ Array3D() [2/5]

template<class T >
TNT::Array3D< T >::Array3D ( int  m,
int  n,
int  g 
)

Definition at line 94 of file tnt_array3d.h.

◆ Array3D() [3/5]

template<class T >
TNT::Array3D< T >::Array3D ( int  m,
int  n,
int  g,
val 
)

Definition at line 115 of file tnt_array3d.h.

◆ Array3D() [4/5]

template<class T >
TNT::Array3D< T >::Array3D ( int  m,
int  n,
int  g,
T *  a 
)

Definition at line 136 of file tnt_array3d.h.

◆ Array3D() [5/5]

template<class T >
TNT::Array3D< T >::Array3D ( const Array3D< T > &  A)
inline

Definition at line 86 of file tnt_array3d.h.

◆ ~Array3D()

template<class T >
TNT::Array3D< T >::~Array3D ( )

Definition at line 244 of file tnt_array3d.h.

Member Function Documentation

◆ copy()

template<class T >
Array3D< T > TNT::Array3D< T >::copy ( ) const

Definition at line 184 of file tnt_array3d.h.

◆ dim1()

template<class T >
int TNT::Array3D< T >::dim1 ( ) const
inline

Definition at line 233 of file tnt_array3d.h.

◆ dim2()

template<class T >
int TNT::Array3D< T >::dim2 ( ) const
inline

Definition at line 236 of file tnt_array3d.h.

◆ dim3()

template<class T >
int TNT::Array3D< T >::dim3 ( ) const
inline

Definition at line 239 of file tnt_array3d.h.

◆ inject()

template<class T >
Array3D< T > & TNT::Array3D< T >::inject ( const Array3D< T > &  A)

Definition at line 197 of file tnt_array3d.h.

◆ operator const T ***()

template<class T >
TNT::Array3D< T >::operator const T *** ( )
inline

Definition at line 254 of file tnt_array3d.h.

◆ operator T***()

template<class T >
TNT::Array3D< T >::operator T*** ( )
inline

Definition at line 247 of file tnt_array3d.h.

◆ operator=() [1/2]

template<class T >
Array3D< T > & TNT::Array3D< T >::operator= ( const Array3D< T > &  A)
inline

Definition at line 226 of file tnt_array3d.h.

◆ operator=() [2/2]

template<class T >
Array3D< T > & TNT::Array3D< T >::operator= ( const T &  a)
inline

Definition at line 173 of file tnt_array3d.h.

◆ operator[]() [1/2]

template<class T >
T ** TNT::Array3D< T >::operator[] ( int  i)
inline

Definition at line 157 of file tnt_array3d.h.

◆ operator[]() [2/2]

template<class T >
const T *const * TNT::Array3D< T >::operator[] ( int  i) const
inline

Definition at line 169 of file tnt_array3d.h.

◆ ref()

template<class T >
Array3D< T > & TNT::Array3D< T >::ref ( const Array3D< T > &  A)
inline

Definition at line 212 of file tnt_array3d.h.

◆ ref_count()

template<class T >
int TNT::Array3D< T >::ref_count ( )
inline

Definition at line 77 of file tnt_array3d.h.

◆ subarray()

template<class T >
Array3D< T > TNT::Array3D< T >::subarray ( int  i0,
int  i1,
int  j0,
int  j1,
int  k0,
int  k1 
)

Definition at line 261 of file tnt_array3d.h.


The documentation for this class was generated from the following file: