On 12/28/18 12:23 PM, Daniel Llorens wrote:

John already wrote a nice explanation of how array strides work. You mean 
specifically for Guile?


Yes, for Guile.  I understand strides and offsets.  I think the functionality 
is basically there
with shared-arrays.  So I take back that Guile does not have this.  I will play 
later.

For example, interesting check will be if one can make a shared-1D array from 
the diagonal elements
of a 2D square array (i.e., ((1 2 3) (4 5 6) (7 8 9)) => (1 5 9).

And the transpose I see as a utility that I guess just calls make-shared-array.

Matt


Reply via email to