MAOS
Multithreaded Adaptive Optics Simulator
CellArray< T > Class Template Reference

Used for array in cpu of any other array. More...

+ Inheritance diagram for CellArray< T >:
+ Collaboration diagram for CellArray< T >:

Public Types

typedef Array< T, CpuParent
 
- Public Types inherited from Array< T, Cpu >
typedef T type
 

Public Member Functions

CellArray Vector () const
 
CellArray trans (stream_t &stream)
 
 CellArray (long nxi, long nyi=1, T *pi=NULL, int own=1)
 
 CellArray (long nxi, long nyi, const CellArray &pi, long offset=0)
 
void Zero (cudaStream_t stream=0)
 
void Copy (const CellArray &in, cudaStream_t stream=0)
 
- Public Member Functions inherited from Array< T, Cpu >
T & operator() (int ix, int iy)
 
const T & operator() (int ix, int iy) const
 
T & R (int ix, int iy=0)
 
T * Col (int icol)
 
const T * Col (int icol) const
 
long Nx () const
 
long Ny () const
 
long N () const
 
 operator bool () const
 
void init (long nxi=0, long nyi=1)
 
 Array (long nxi, long nyi=1, T *pi=NULL, int own=1)
 
 Array (long nxi, long nyi, const Array &pi, long offset=0)
 
 Array (const Array &in)
 
Arrayoperator= (const Array &in)
 
Array Vector () const
 
void deinit ()
 
T * operator+ (int i)
 
const T * operator+ (int i) const
 
int NRef () const
 

Additional Inherited Members

- Data Fields inherited from Array< T, Cpu >
string keywords
 
T * p
 
- Protected Attributes inherited from Array< T, Cpu >
long nx
 
long ny
 

Detailed Description

template<typename T>
class CellArray< T >

Used for array in cpu of any other array.


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