#include <Real2dData.h>
Public Types | |
using | Float = F |
using | DataVector = std::vector< F > |
using | Index = unsigned int |
using | IndexArray = std::array< Index, 2 > |
using | Norm = RealDftNormalization |
using | Complex = std::complex< Float > |
Public Member Functions | |
Real2dData () | |
Real2dData (const IndexArray &nsams) | |
Real2dData (const IndexArray &nsams, const DataVector &data) | |
virtual | ~Real2dData ()=default |
void | clear () |
void | reset (const IndexArray &nsams) |
Index | rank () const |
const IndexArray & | nSamples () const |
Index | nSamples (Index idim) const |
Index | size (Index idim) const |
Index | size () const |
bool | inRange (Index idim, Index idat) const |
bool | isZero (Index idat) const |
bool | isValid () const |
Float | badValue () const |
const std::vector< F > & | data () const |
int | copyDataIn (const DataVector &data) |
template<typename T > | |
int | copyDataIn (const T *pdat) |
template<typename T > | |
int | copyDataOut (T *pdat) const |
Index | globalIndex (const IndexArray &isams, Index *pchk=nullptr) const |
Float | value (const IndexArray &isams, Index *pchk=nullptr) const |
Index | setValue (const IndexArray &isams, Float val, Index *pchk=nullptr) |
F | power () const |
Static Public Member Functions | |
template<std::size_t N> | |
static Index | dataSize (const std::array< Index, N > &nsams) |
Private Attributes | |
IndexArray | m_nsams |
DataVector | m_data |
Definition at line 20 of file Real2dData.h.
using Real2dData< F >::Complex = std::complex<Float> |
Definition at line 36 of file Real2dData.h.
using Real2dData< F >::DataVector = std::vector<F> |
Definition at line 32 of file Real2dData.h.
using Real2dData< F >::Float = F |
Definition at line 31 of file Real2dData.h.
using Real2dData< F >::Index = unsigned int |
Definition at line 33 of file Real2dData.h.
using Real2dData< F >::IndexArray = std::array<Index,2> |
Definition at line 34 of file Real2dData.h.
using Real2dData< F >::Norm = RealDftNormalization |
Definition at line 35 of file Real2dData.h.
|
inline |
Definition at line 52 of file Real2dData.h.
|
inline |
Definition at line 56 of file Real2dData.h.
|
inline |
Definition at line 59 of file Real2dData.h.
|
virtualdefault |
|
inline |
Definition at line 111 of file Real2dData.h.
|
inline |
Definition at line 68 of file Real2dData.h.
|
inline |
Definition at line 121 of file Real2dData.h.
Definition at line 131 of file Real2dData.h.
|
inline |
Definition at line 143 of file Real2dData.h.
|
inline |
Definition at line 117 of file Real2dData.h.
|
inlinestatic |
Definition at line 41 of file Real2dData.h.
|
inline |
Definition at line 154 of file Real2dData.h.
|
inline |
Definition at line 97 of file Real2dData.h.
|
inline |
Definition at line 102 of file Real2dData.h.
|
inline |
Definition at line 98 of file Real2dData.h.
|
inline |
Definition at line 86 of file Real2dData.h.
|
inline |
Definition at line 87 of file Real2dData.h.
|
inline |
Definition at line 206 of file Real2dData.h.
|
inline |
Definition at line 82 of file Real2dData.h.
|
inline |
Definition at line 74 of file Real2dData.h.
|
inline |
Definition at line 197 of file Real2dData.h.
|
inline |
Definition at line 91 of file Real2dData.h.
|
inline |
Definition at line 94 of file Real2dData.h.
|
inline |
Definition at line 184 of file Real2dData.h.
|
private |
Definition at line 221 of file Real2dData.h.
|
private |
Definition at line 220 of file Real2dData.h.