This repository was archived by the owner on Feb 26, 2025. It is now read-only.
Repository navigation
|
Hi all I store a flattened n-dimensional array within a 1D vector. Is it feasible to write this 1D vector as an n-dimensional array to an HDF5 file? I am hesitant to create a new n-dimensional array and duplicate the data, as this approach is not memory-efficient. when I attempt something like: the program throws an exception: |
Answered by
aghaeifar
Apr 16, 2024
Replies: 1 comment 1 reply
|
Apparently there is a good example for this: |
1 reply
Answer selected by
aghaeifar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apparently there is a good example for this:
https://github.com/BlueBrain/HighFive/blob/master/src/examples/read_write_raw_ptr.cpp