I can have ds[1:5, 2] = rand(5, 2) to write into a subset of a dataset. However, @views dsv = ds[1:5, 2] does not work as expected.
What I really want is a way to pass the view to a function, such that the view information is included in like dsv. Is there a way to do that in HDF5.jl?
I can have
ds[1:5, 2] = rand(5, 2)
to write into a subset of a dataset. However,@views dsv = ds[1:5, 2]
does not work as expected.What I really want is a way to pass the view to a function, such that the view information is included in like
dsv
. Is there a way to do that inHDF5.jl
?