[Haskell-beginners] multidimensional data
Francesco Ariis
fa-ml at ariis.it
Mon Apr 22 21:47:18 UTC 2019
Hello Barry,
On Mon, Apr 22, 2019 at 04:25:47PM -0500, Barry DeZonia wrote:
> In Haskell, how would you represent a 5 dimensional data structure of
> numeric values? Imagine a dataset with axes x, y, z, channel, and time. Is
> there an easy way to represent this in the data that doesn't run into all
> kinds of memory limits? How would you map the data to a new state such that
> the new state had pixel (1000, 2000, 100, 1, 20) set to 53?
Maybe a HashMap[1] or similar structure?
[1] http://hackage.haskell.org/package/unordered-containers-0.2.10.0
More information about the Beginners
mailing list