Essentia
2.1-beta6-dev
|
#include <tnt_fortran_array2d.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
Fortran_Array2D () | |
Fortran_Array2D (int m, int n) | |
Fortran_Array2D (int m, int n, T *a) | |
Fortran_Array2D (int m, int n, const T &a) | |
Fortran_Array2D (const Fortran_Array2D &A) | |
Fortran_Array2D & | operator= (const T &a) |
Fortran_Array2D & | operator= (const Fortran_Array2D &A) |
Fortran_Array2D & | ref (const Fortran_Array2D &A) |
Fortran_Array2D | copy () const |
Fortran_Array2D & | inject (const Fortran_Array2D &A) |
T & | operator() (int i, int j) |
const T & | operator() (int i, int j) const |
int | dim1 () const |
int | dim2 () const |
~Fortran_Array2D () | |
int | ref_count () const |
Private Member Functions | |
void | initialize_ (int n) |
void | copy_ (T *p, const T *q, int len) |
void | set_ (T *begin, T *end, const T &val) |
Private Attributes | |
i_refvec< T > | v_ |
int | m_ |
int | n_ |
T * | data_ |
typedef T value_type |
Fortran_Array2D | ( | int | m, |
int | n | ||
) |
Fortran_Array2D | ( | int | m, |
int | n, | ||
T * | a | ||
) |
Fortran_Array2D | ( | int | m, |
int | n, | ||
const T & | a | ||
) |
References Fortran_Array2D< T >::data_, and Fortran_Array2D< T >::set_().
|
inline |
Fortran_Array2D< T > copy |
References Fortran_Array2D< T >::inject().
|
private |
|
inline |
|
inline |
|
private |
Fortran_Array2D< T > & inject | ( | const Fortran_Array2D< T > & | A | ) |
References Fortran_Array2D< T >::data_, Fortran_Array2D< T >::m_, and Fortran_Array2D< T >::n_.
Referenced by Fortran_Array2D< T >::copy().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Referenced by Fortran_Array2D< T >::Fortran_Array2D().
|
private |
|
private |
Referenced by Fortran_Array2D< T >::inject(), and Fortran_Array2D< T >::ref().
|
private |
Referenced by Fortran_Array2D< T >::inject(), and Fortran_Array2D< T >::ref().
|
private |
Referenced by Fortran_Array2D< T >::ref().