Function amici::hdf5::getDoubleDataset2D

Function Documentation

std::vector<double> amici::hdf5::getDoubleDataset2D(const H5::H5File &file, std::string const &name, hsize_t &m, hsize_t &n)

Read 2-dimensional native double dataset from HDF5 file.

Return

Flattened data (row-major)

Parameters
  • file: HDF5 file object

  • name: Name of dataset to read

  • m: Number of rows in the dataset

  • n: Number of columns in the dataset