lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
NDArray.hh File Reference

Declares psalg::NDArray, an XtcData::Array subclass with its own shape storage and an external or owned data buffer. More...

#include <assert.h>
#include <algorithm>
#include <iostream>
#include "xtcdata/xtc/Array.hh"
#include "psalg/calib/Types.hh"
#include "psalg/utils/Logger.hh"
#include <typeinfo>
#include <cstring>
#include <type_traits>

Classes

class  psalg::NDArray< T >
 XtcData::Array<T> subclass that keeps its own copy of the shape (set_shape() asserts ndim < MAXNDIM) and either points at an external buffer or owns a heap buffer, deleted in the destructor. More...
 

Namespaces

namespace  psalg
 Usage.
 

Detailed Description

Declares psalg::NDArray, an XtcData::Array subclass with its own shape storage and an external or owned data buffer.