BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
LLData< T > Class Template Reference

Template class to store data of any type in multi-dimensional space (low-level). More...

Public Member Functions

 LLData (size_t rank, const int *dimensions)
 
 LLData (const LLData< T > &right)
 
LLData< T > & operator= (const LLData< T > &right)
 
LLData< double > meanValues () const
 
T & operator[] (size_t i)
 
const T & operator[] (size_t i) const
 
T & atCoordinate (int *coordinate)
 
const T & atCoordinate (int *coordinate) const
 
LLData< T > & operator+= (const LLData< T > &right)
 
LLData< T > & operator-= (const LLData< T > &right)
 
LLData< T > & operator*= (const LLData< T > &right)
 
LLData< T > & operator/= (const LLData< T > &right)
 
void setAll (const T &value)
 
void scaleAll (const T &factor)
 
size_t getTotalSize () const
 
size_t getRank () const
 
const int * getDimensions () const
 
getTotalSum () const
 

Detailed Description

template<class T>
class LLData< T >

Template class to store data of any type in multi-dimensional space (low-level).

Definition at line 27 of file LLData.h.


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