#include <arrayWrap2.h>
Inheritance diagram for gutz::arrayWrap2< T >:
Public Member Functions | |
arrayWrap2 () | |
arrayWrap2 (int d0, int d1, T *v=0) | |
arrayWrap2 (const arrayWrap2< T > &a) | |
arrayWrap2< T > & | operator= (const arrayWrap2< T > &a) |
virtual | ~arrayWrap2 () |
arrayWrap1< T > & | operator[] (int i) |
const arrayWrap1< T > & | operator[] (int i) const |
T & | operator() (int i, int j) |
const T & | operator() (int i, int j) const |
T & | operator() (int i, int j=0, int k=0, int m=0, int n=0) |
const T & | operator() (int i, int j=0, int k=0, int m=0, int n=0) const |
int | dim () const |
int | dim (const int axis) const |
int | size () const |
int | empty () const |
T * | data () |
const T * | data () const |
bool | killWithDelete () const |
void | reshape (int d0, int d1=0, int d2=0, int d3=0, int d4=0) |
Protected Member Functions | |
void | set (int dim, int *aSize, T *a) |
# of axies, # of elements per axis, data pointer | |
const int | address (int i, int j, int k, int m, int n) const |
< address of array element | |
void | initValOwn (T val) |
void | initDataOwn (const T *data) |
void | copyDataOwn (const T *data) |
void | allocDataOwn () |
void | killData () |
Protected Attributes | |
arrayWrap1< T > | mSlice |
T * | mData |
data pointer | |
int | mAxisDim [MAX_ARRAY_DIM_GUTZ] |
# of elements allong each axis | |
int | mAxisStride [MAX_ARRAY_DIM_GUTZ] |
# of elements to jump for the next entry | |
int | mSize |
total # of elements in array | |
int | mDim |
# of axes in array | |
bool | mKillWithDelete |
Kill data with delete or free? | |
Friends | |
class | arrayWrap3< T > |
|
Definition at line 95 of file arrayWrap2.h. |
|
Definition at line 101 of file arrayWrap2.h. References v. |
|
|
|
Definition at line 125 of file arrayWrap2.h. |
|
< address of array element
Definition at line 285 of file arrayBase.h. References n. Referenced by gutz::arrayWrap5< T >::operator()(), gutz::arrayWrap4< T >::operator()(), gutz::arrayWrap3< T >::operator()(), gutz::arrayWrap2< T >::operator()(), and gutz::arrayBase< T >::operator()(). |
|
Definition at line 391 of file arrayBase.h. References gutz::arrayBase< T >::mData, and gutz::arrayBase< T >::mSize. Referenced by gutz::arrayBase< T >::initDataOwn(). |
|
Definition at line 401 of file arrayBase.h. References data, gutz::arrayBase< T >::mData, and gutz::arrayBase< T >::mSize. Referenced by gutz::arrayBase< T >::initDataOwn(). |
|
Definition at line 94 of file arrayBase.h. |
|
Definition at line 93 of file arrayBase.h. Referenced by gutz::arrayOwn2< T >::arrayOwn2(), gutz::arrayOwn3< T >::arrayOwn3(), gutz::arrayOwn4< T >::arrayOwn4(), and gutz::arrayOwn5< T >::arrayOwn5(). |
|
Definition at line 84 of file arrayBase.h. |
|
Definition at line 82 of file arrayBase.h. Referenced by gutz::arrayOwn5< T >::operator=(), gutz::arrayOwn4< T >::operator=(), gutz::arrayOwn3< T >::operator=(), gutz::arrayOwn2< T >::operator=(), and gutz::arrayOwn1< T >::operator=(). |
|
Definition at line 90 of file arrayBase.h. |
|
Definition at line 372 of file arrayBase.h. References gutz::arrayBase< T >::allocDataOwn(), gutz::arrayBase< T >::copyDataOwn(), and data. |
|
Definition at line 358 of file arrayBase.h. References gutz::arrayBase< T >::mData, and gutz::arrayBase< T >::mSize. |
|
|
Definition at line 98 of file arrayBase.h. |
|
Reimplemented in gutz::arrayWrap5< T >. Definition at line 279 of file arrayBase.h. References gutz::arrayBase< T >::address(), gutz::arrayBase< T >::mData, and n. |
|
Reimplemented in gutz::arrayWrap5< T >. Definition at line 273 of file arrayBase.h. References gutz::arrayBase< T >::address(), gutz::arrayBase< T >::mData, and n. |
|
Definition at line 159 of file arrayWrap2.h. References gutz::arrayBase< T >::address(), and gutz::arrayBase< T >::mData. |
|
Definition at line 153 of file arrayWrap2.h. References gutz::arrayBase< T >::address(), and gutz::arrayBase< T >::mData. |
|
Definition at line 114 of file arrayWrap2.h. References gutz::arrayWrap2< T >::mSlice. |
|
Definition at line 137 of file arrayWrap2.h. References gutz::arrayWrap2< T >::mSlice. |
|
Definition at line 130 of file arrayWrap2.h. References gutz::arrayWrap2< T >::mSlice. |
|
Definition at line 331 of file arrayBase.h. References gutz::arrayBase< T >::mAxisDim, gutz::arrayBase< T >::mAxisStride, and gutz::arrayBase< T >::mDim. |
|
# of axies, # of elements per axis, data pointer
Definition at line 293 of file arrayBase.h. References MAX_ARRAY_DIM_GUTZ, gutz::arrayBase< T >::mAxisDim, gutz::arrayBase< T >::mAxisStride, gutz::arrayBase< T >::mData, gutz::arrayBase< T >::mDim, gutz::arrayBase< T >::mKillWithDelete, gutz::arrayBase< T >::mSize, s, size, and gutz::arrayBase< T >::size(). Referenced by gutz::arrayBase< T >::arrayBase(), gutz::arrayBase< T >::operator=(), gutz::arrayOwn5< T >::transfer(), gutz::arrayOwn4< T >::transfer(), gutz::arrayOwn3< T >::transfer(), gutz::arrayOwn2< T >::transfer(), and gutz::arrayOwn1< T >::transfer(). |
|
Definition at line 87 of file arrayBase.h. Referenced by gutz::arrayOwn5< T >::operator=(), gutz::arrayOwn4< T >::operator=(), gutz::arrayOwn3< T >::operator=(), gutz::arrayOwn2< T >::operator=(), gutz::arrayOwn1< T >::operator=(), and gutz::arrayBase< T >::set(). |
|
Definition at line 59 of file arrayWrap2.h. |
|
# of elements allong each axis
Definition at line 107 of file arrayBase.h. Referenced by gutz::arrayBase< T >::arrayBase(), gutz::arrayBase< V_TYPE >::dim(), gutz::arrayBase< T >::operator=(), gutz::arrayBase< T >::reshape(), and gutz::arrayBase< T >::set(). |
|
# of elements to jump for the next entry
Definition at line 108 of file arrayBase.h. Referenced by gutz::arrayBase< T >::reshape(), and gutz::arrayBase< T >::set(). |
|
|
# of axes in array
Definition at line 110 of file arrayBase.h. Referenced by gutz::arrayBase< T >::arrayBase(), gutz::arrayBase< V_TYPE >::dim(), gutz::arrayBase< T >::operator=(), gutz::arrayBase< T >::reshape(), and gutz::arrayBase< T >::set(). |
|
Kill data with delete or free?
Definition at line 111 of file arrayBase.h. Referenced by gutz::arrayBase< T >::killData(), gutz::arrayBase< V_TYPE >::killWithDelete(), gutz::arrayBase< T >::set(), gutz::arrayOwn5< T >::transfer(), gutz::arrayOwn4< T >::transfer(), gutz::arrayOwn3< T >::transfer(), gutz::arrayOwn2< T >::transfer(), and gutz::arrayOwn1< T >::transfer(). |
|
|
Definition at line 81 of file arrayWrap2.h. Referenced by gutz::arrayWrap2< T >::operator=(), gutz::arrayWrap2< T >::operator[](), and gutz::arrayOwn2< T >::transfer(). |