guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matrix or array operations library


From: Matt Wette
Subject: Re: Matrix or array operations library
Date: Fri, 28 Dec 2018 15:24:38 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

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

[Prev in Thread] Current Thread [Next in Thread]