[Haskell-cafe] Reshaping arrays in accelerate

Lana Black lanablack at amok.cc
Wed Jun 26 11:24:54 UTC 2019

Hello cafe,

Is there a generic way to reshape an array in accelerate[1] assuming the 
number of dimensions remains constant? For example, given a matrix, is 
there a way to add or, more importantly, remove several rows or columns?

It seems to me that the API is lacking in this case, but I hope I'm wrong.

Thank you.

[1]: https://hackage.haskell.org/package/accelerate-

More information about the Haskell-Cafe mailing list