MAOS
Multithreaded Adaptive Optics Simulator
NumArray< T, Dev > Class Template Reference

Only for array of numerical data. More...

+ Inheritance diagram for NumArray< T, Dev >:
+ Collaboration diagram for NumArray< T, Dev >:

Public Types

typedef Array< T, Dev > Parent
 
- Public Types inherited from Array< T, Dev >
typedef T type
 

Public Member Functions

NumArray trans (stream_t &stream)
 
 NumArray (long nxi, long nyi=1, T *pi=NULL, int own=1)
 
 NumArray (long nxi, long nyi, const NumArray &pi, long offset=0)
 
 NumArray (const dmat *A)
 
 NumArray (const cmat *A)
 
 NumArray (const smat *A)
 
 NumArray (const zmat *A)
 
NumArray Vector () const
 
void Zero (cudaStream_t stream=0)
 
void Copy (const NumArray &in, cudaStream_t stream=0)
 
template<>
 NumArray (const dmat *A)
 
template<>
 NumArray (const cmat *A)
 
template<>
 NumArray (const smat *A)
 
template<>
 NumArray (const zmat *A)
 
void deinit ()
 
T * operator+ (int i)
 
const T * operator+ (int i) const
 
int NRef () const
 
void init (long n=0)
 
- Public Member Functions inherited from Array< T, Dev >
T & operator() (int ix, int iy)
 
const T & operator() (int ix, int iy) const
 
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
 

Data Fields

T * p
 
- Data Fields inherited from Array< T, Dev >
string keywords
 
T * p
 

Additional Inherited Members

- Protected Attributes inherited from Array< T, Dev >
long nx
 
long ny
 

Detailed Description

template<typename T, template< typename > class Dev>
class NumArray< T, Dev >

Only for array of numerical data.


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