1.2.2
CCC
 
Array Class Reference

#include <Array.hpp>

Inheritance diagram for Array:
AArray AStringable

Public Member Functions

 Array (const VectorInt &ndims=VectorInt())
 
 Array (const Array &m)
 
Arrayoperator= (const Array &m)
 
virtual ~Array ()
 
void init (const VectorInt &ndims)
 
double getValue (const VectorInt &indice) const
 
void setValue (const VectorInt &indice, double value)
 
const VectorDoublegetValues () const
 
void setValues (const VectorDouble &values)
 
- Public Member Functions inherited from AArray
 AArray (const VectorInt &ndims=VectorInt())
 
 AArray (const AArray &m)
 
AArrayoperator= (const AArray &m)
 
virtual ~AArray ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 Interface for AStringable. More...
 
void init (const VectorInt &ndims)
 
int indiceToRank (const VectorInt &indice) const
 
VectorInt rankToIndice (int rank) const
 
void rankToIndice (int rank, VectorInt &indices) const
 
int getNDim () const
 
int getNPixels () const
 
const VectorIntgetNDims () const
 
VectorInt getNDimsExt (int ndimMax) const
 
int getNDims (int idim) const
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 

Constructor & Destructor Documentation

Array::Array ( const VectorInt ndims = VectorInt())
Array::Array ( const Array m)
Array::~Array ( )
virtual

Member Function Documentation

double Array::getValue ( const VectorInt indice) const
const VectorDouble& Array::getValues ( ) const
inline
void Array::init ( const VectorInt ndims)
Array & Array::operator= ( const Array m)
void Array::setValue ( const VectorInt indice,
double  value 
)
void Array::setValues ( const VectorDouble values)
inline

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