Iteration over BigArray.Genarray


Is there a facility to iterate over BigArray.Genarray of any dimension (I don’t see any in the doc) or shall I build it myself ?

Owl basically completes BigArray, especially Owl_base.

Thank you bluddy. Not to blame you but I have seen better documented libraries…not sure what’s the fastest/simplest track now.

I agree it’s quite confusing unfortunately. Have a look at this file from owl_base:

It looks like you could just use batteries extension of the standard module :slight_smile:

Otherwise Owl has a bunch of modules which aliases BigArray.GenArray with a c_layout, so one of those iteration functions should work.