Essentia  2.1-beta6-dev
Fortran_Array3D< T > Class Template Reference

#include <tnt_fortran_array3d.h>

Public Types

typedef T value_type
 

Public Member Functions

 Fortran_Array3D ()
 
 Fortran_Array3D (int m, int n, int k)
 
 Fortran_Array3D (int m, int n, int k, T *a)
 
 Fortran_Array3D (int m, int n, int k, const T &a)
 
 Fortran_Array3D (const Fortran_Array3D &A)
 
Fortran_Array3Doperator= (const T &a)
 
Fortran_Array3Doperator= (const Fortran_Array3D &A)
 
Fortran_Array3Dref (const Fortran_Array3D &A)
 
Fortran_Array3D copy () const
 
Fortran_Array3Dinject (const Fortran_Array3D &A)
 
T & operator() (int i, int j, int k)
 
const T & operator() (int i, int j, int k) const
 
int dim1 () const
 
int dim2 () const
 
int dim3 () const
 
int ref_count () const
 
 ~Fortran_Array3D ()
 

Private Attributes

i_refvec< T > v_
 
int m_
 
int n_
 
int k_
 
T * data_
 

Member Typedef Documentation

◆ value_type

typedef T value_type

Constructor & Destructor Documentation

◆ Fortran_Array3D() [1/5]

◆ Fortran_Array3D() [2/5]

Fortran_Array3D ( int  m,
int  n,
int  k 
)

◆ Fortran_Array3D() [3/5]

Fortran_Array3D ( int  m,
int  n,
int  k,
T *  a 
)

◆ Fortran_Array3D() [4/5]

Fortran_Array3D ( int  m,
int  n,
int  k,
const T &  a 
)

◆ Fortran_Array3D() [5/5]

Fortran_Array3D ( const Fortran_Array3D< T > &  A)
inline

◆ ~Fortran_Array3D()

Member Function Documentation

◆ copy()

◆ dim1()

◆ dim2()

◆ dim3()

◆ inject()

◆ operator()() [1/2]

T & operator() ( int  i,
int  j,
int  k 
)
inline

◆ operator()() [2/2]

const T & operator() ( int  i,
int  j,
int  k 
) const
inline

◆ operator=() [1/2]

Fortran_Array3D& operator= ( const Fortran_Array3D< T > &  A)
inline

◆ operator=() [2/2]

Fortran_Array3D< T > & operator= ( const T &  a)
inline

◆ ref()

◆ ref_count()

int ref_count
inline

Member Data Documentation

◆ data_

◆ k_

int k_
private

◆ m_

int m_
private

◆ n_

int n_
private

◆ v_

i_refvec<T> v_
private

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