MAOS
Multithreaded Adaptive Optics Simulator
Loading...
Searching...
No Matches
Array< T, Dev > Class Template Reference
+ Inheritance diagram for Array< T, Dev >:
+ Collaboration diagram for Array< T, Dev >:

Public Types

typedef T type
 

Public Member Functions

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 ()
 
int NRef () const
 

Data Fields

string keywords
 

Protected Attributes

long nx =0
 
long ny =0
 
T * p
 

Detailed Description

template<typename T, template< typename > class Dev = Cpu>
class Array< T, Dev >

Generic array of basic types and classes.

Does not defines operations that are different between Numerical and NumCell array.


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