PLaSK library
|
#include <solvers/gain/wasiak/wzmocnienie/tnt/tnt_array2d.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
Array2D () | |
Array2D (int m, int n) | |
Array2D (int m, int n, T *a) | |
Array2D (int m, int n, const T &a) | |
Array2D (const Array2D &A) | |
operator T** () | |
operator const T ** () | |
Array2D & | operator= (const T &a) |
Array2D & | operator= (const Array2D &A) |
Array2D & | ref (const Array2D &A) |
Array2D | copy () const |
Array2D & | inject (const Array2D &A) |
T * | operator[] (int i) |
const T * | operator[] (int i) const |
int | dim1 () const |
int | dim2 () const |
~Array2D () | |
int | ref_count () |
int | ref_count_data () |
int | ref_count_dim1 () |
Array2D | subarray (int i0, int i1, int j0, int j1) |
Create a new view to a subarray defined by the boundaries [i0][i0] and [i1][j1]. | |
Definition at line 37 of file tnt_array2d.h.
typedef T TNT::Array2D< T >::value_type |
Definition at line 52 of file tnt_array2d.h.
TNT::Array2D< T >::Array2D | ( | ) |
Definition at line 83 of file tnt_array2d.h.
TNT::Array2D< T >::Array2D | ( | int | m, |
int | n | ||
) |
Definition at line 93 of file tnt_array2d.h.
TNT::Array2D< T >::Array2D | ( | int | m, |
int | n, | ||
T * | a | ||
) |
Definition at line 125 of file tnt_array2d.h.
TNT::Array2D< T >::Array2D | ( | int | m, |
int | n, | ||
const T & | a | ||
) |
Definition at line 109 of file tnt_array2d.h.
|
inline |
Definition at line 86 of file tnt_array2d.h.
TNT::Array2D< T >::~Array2D | ( | ) |
Definition at line 238 of file tnt_array2d.h.
Array2D< T > TNT::Array2D< T >::copy | ( | ) | const |
Definition at line 180 of file tnt_array2d.h.
|
inline |
Definition at line 231 of file tnt_array2d.h.
|
inline |
Definition at line 234 of file tnt_array2d.h.
Array2D< T > & TNT::Array2D< T >::inject | ( | const Array2D< T > & | A | ) |
Definition at line 194 of file tnt_array2d.h.
|
inline |
Definition at line 249 of file tnt_array2d.h.
|
inline |
Definition at line 244 of file tnt_array2d.h.
|
inline |
Definition at line 225 of file tnt_array2d.h.
|
inline |
Definition at line 166 of file tnt_array2d.h.
|
inline |
Definition at line 141 of file tnt_array2d.h.
|
inline |
Definition at line 154 of file tnt_array2d.h.
|
inline |
Definition at line 209 of file tnt_array2d.h.
|
inline |
Definition at line 289 of file tnt_array2d.h.
|
inline |
Definition at line 297 of file tnt_array2d.h.
|
inline |
Definition at line 303 of file tnt_array2d.h.
Array2D< T > TNT::Array2D< T >::subarray | ( | int | i0, |
int | i1, | ||
int | j0, | ||
int | j1 | ||
) |
Create a new view to a subarray defined by the boundaries [i0][i0] and [i1][j1].
The size of the subarray is (i1-i0) by (j1-j0). If either of these lengths are zero or negative, the subarray view is null.
Definition at line 263 of file tnt_array2d.h.