MAOS
Multithreaded Adaptive Optics Simulator
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 * 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

string keywords
 
T * p
 

Protected Attributes

long nx
 
long ny
 

Detailed Description

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

Generic array of basic types and classes.

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


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