33 #ifndef REALMATRIXDATA_H
34 #define REALMATRIXDATA_H
63 const char * MatrixName);
67 const char * MatrixName,
68 const size_t CompressionLevel);
Abstract base class for float based matrices defining basic interface. Higher dimensional matrices st...
float & GetElementFrom3D(const size_t X, const size_t Y, const size_t Z)
Get element from 3D matrix.
static const size_t ChunkSize_1D_1MB
Number of elements to get 1MB block of data.
virtual void FreeMemory()
Memory deallocation.
virtual void WriteDataToHDF5File(THDF5_File &HDF5_File, const char *MatrixName, const size_t CompressionLevel)
Write data into the HDF5 file.
size_t p2DDataSliceSize
Size of a 2D slab (X,Y).
static const size_t ChunkSize_1D_4MB
Number of elements to get 4MB block of data.
virtual void ReadDataFromHDF5File(THDF5_File &HDF5_File, const char *MatrixName)
Read data from the HDF5 file - only from the root group.
virtual void InitDimensions(const TDimensionSizes &DimensionSizes)
Init dimension.
size_t pDataRowSize
Size of a 1D row in X dimension.
The header file containing the structure with 3D dimension sizes.
The class for real matrices.
virtual ~TRealMatrix()
Destructor.
The header file containing the base class for single precisions floating point numbers (floats) ...
static const size_t ChunkSize_1D_256KB
Number of elements to get 256KB block of data.
TRealMatrix & operator=(const TRealMatrix &src)
Operator = is not allowed for public.
The class for complex matrices.
float * pMatrixData
Raw matrix data.
float & operator[](const size_t &index)
operator [].
TRealMatrix()
Default constructor is not allowed for public.
Class wrapping the HDF5 routines.
Structure with 4D dimension sizes (3 in space and 1 in time).