gstlearn
1.0.0
CCC
|
#include <Array.hpp>
Public Member Functions | |
Array (const VectorInt &ndims=VectorInt()) | |
Array (const Array &m) | |
Array & | operator= (const Array &m) |
virtual | ~Array () |
void | init (const VectorInt &ndims) |
double | getValue (const VectorInt &indice) const |
void | setValue (const VectorInt &indice, double value) |
const VectorDouble & | getValues () const |
void | setValues (const VectorDouble &values) |
Public Member Functions inherited from AArray | |
AArray (const VectorInt &ndims=VectorInt()) | |
AArray (const AArray &m) | |
AArray & | operator= (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 VectorInt & | getNDims () const |
VectorInt | getNDimsExt (int ndimMax) const |
int | getNDims (int idim) const |
Public Member Functions inherited from AStringable | |
AStringable () | |
AStringable (const AStringable &r) | |
AStringable & | operator= (const AStringable &r) |
virtual | ~AStringable () |
virtual void | display (const AStringFormat *strfmt=nullptr) const final |
virtual void | display (int level) const final |
Private Member Functions | |
void | _update () |
Private Attributes | |
VectorDouble | _values |
Additional Inherited Members | |
Protected Member Functions inherited from AArray | |
bool | _isValidIndice (const VectorInt &indice) const |
Array::Array | ( | const Array & | m | ) |
|
virtual |
|
private |
double Array::getValue | ( | const VectorInt & | indice | ) | const |
|
inline |
void Array::init | ( | const VectorInt & | ndims | ) |
void Array::setValue | ( | const VectorInt & | indice, |
double | value | ||
) |
|
inline |
|
private |