1.3.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() [1/2]

Array::Array ( const VectorInt ndims = VectorInt())

◆ Array() [2/2]

Array::Array ( const Array m)

◆ ~Array()

Array::~Array ( )
virtual

Member Function Documentation

◆ getValue()

double Array::getValue ( const VectorInt indice) const

◆ getValues()

const VectorDouble& Array::getValues ( ) const
inline

◆ init()

void Array::init ( const VectorInt ndims)

◆ operator=()

Array & Array::operator= ( const Array m)

◆ setValue()

void Array::setValue ( const VectorInt indice,
double  value 
)

◆ setValues()

void Array::setValues ( const VectorDouble values)
inline

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