Function amici::hdf5::createAndWriteInt2DDataset

Function Documentation

void amici::hdf5::createAndWriteInt2DDataset(H5::H5File const &file, std::string const &datasetName, gsl::span<const int> buffer, hsize_t m, hsize_t n)

Create and write to 2-dimensional native integer dataset.

Parameters
  • file – HDF5 file object

  • datasetName – Name of dataset to create

  • buffer – Flattened data to write to dataset (assuming row-major)

  • m – Number of rows in buffer

  • n – Number of columns buffer