Template Function read_array_from_h5_file¶
Defined in File h5read_processed.hpp
Function Documentation¶
-
template<typename T>
std::vector<T> read_array_from_h5_file(std::string_view filename, std::string_view dataset_name)¶ Reads an HDF5 dataset into a flat vector (no shape metadata).
- Template Parameters:
T – Type of the dataset (e.g.,
float,int64_t).- Parameters:
filename – HDF5 file path.
dataset_name – Full path to the dataset.
- Returns:
Vector of raw values.