Function utils::dataset2DShape
Defined in File HDF5Utils.hpp
Function Documentation
-
auto utils::dataset2DShape(hid_t grp, const std::string &name, const std::string &context) -> std::pair<size_t, size_t>
Get the shape of a 2D dataset without reading its data.
- Parameters:
grp – Handle to the group containing the dataset
name – Name of the dataset
context – Prefix used in thrown error messages (typically the name of the calling class or function)
- Returns:
The (nrow, ncol) shape of the dataset