1.8.0
CCC
 
Loading...
Searching...
No Matches
gstlrn::AArray Class Reference

#include <AArray.hpp>

Inheritance diagram for gstlrn::AArray:
gstlrn::AStringable gstlrn::Array gstlrn::BImage

Public Member Functions

 AArray (const 1 &ndims=1())
 
 AArray (const AArray &r)
 
AArrayoperator= (const AArray &r)
 
virtual ~AArray ()
 
String toString (const AStringFormat *strfmt=nullptr) const override
 Interface for AStringable.
 
void init (const 1 &ndims)
 
Id indiceToRank (const 1 &indice) const
 
 rankToIndice (Id rank) const
 
void rankToIndice (Id rank, 1 &indices) const
 
Id getNDim () const
 
Id getNPixels () const
 
const & getNDims () const
 
 getNDimsExt (Id ndimMax) const
 
Id getNDims (Id idim) const
 
- Public Member Functions inherited from gstlrn::AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (Id level) const final
 

Constructor & Destructor Documentation

◆ AArray() [1/2]

gstlrn::AArray::AArray ( const 1 &  ndims = 1())

◆ AArray() [2/2]

gstlrn::AArray::AArray ( const AArray r)

◆ ~AArray()

gstlrn::AArray::~AArray ( )
virtual

Member Function Documentation

◆ getNDim()

Id gstlrn::AArray::getNDim ( ) const
inline

◆ getNDims() [1/2]

const & gstlrn::AArray::getNDims ( ) const
inline

◆ getNDims() [2/2]

Id gstlrn::AArray::getNDims ( Id  idim) const

◆ getNDimsExt()

gstlrn::AArray::getNDimsExt ( Id  ndimMax) const

◆ getNPixels()

Id gstlrn::AArray::getNPixels ( ) const
inline

◆ indiceToRank()

Id gstlrn::AArray::indiceToRank ( const 1 &  indice) const

◆ init()

void gstlrn::AArray::init ( const 1 &  ndims)

◆ operator=()

AArray & gstlrn::AArray::operator= ( const AArray r)

◆ rankToIndice() [1/2]

gstlrn::AArray::rankToIndice ( Id  rank) const

◆ rankToIndice() [2/2]

void gstlrn::AArray::rankToIndice ( Id  rank,
1 &  indices 
) const

◆ toString()

String gstlrn::AArray::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Interface for AStringable.

Reimplemented from gstlrn::AStringable.

Reimplemented in gstlrn::BImage.


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