From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.user Subject: Re: Matrix or array operations library Date: Fri, 28 Dec 2018 15:24:38 -0800 Message-ID: <20179e11-a4a4-59e7-bc79-8ad7d08bfb77@gmail.com> References: <1C6C55C9-24B1-4952-BC1A-18CF80749565@bluewin.ch> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1546039956 30802 195.159.176.226 (28 Dec 2018 23:32:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Dec 2018 23:32:36 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Dec 29 00:32:32 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gd1cF-0007sv-Br for guile-user@m.gmane.org; Sat, 29 Dec 2018 00:32:31 +0100 Original-Received: from localhost ([127.0.0.1]:33776 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gd1eL-0003Ff-JT for guile-user@m.gmane.org; Fri, 28 Dec 2018 18:34:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gd1df-00035d-ED for guile-user@gnu.org; Fri, 28 Dec 2018 18:34:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gd1UE-0005VT-O4 for guile-user@gnu.org; Fri, 28 Dec 2018 18:24:21 -0500 Original-Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:40088) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gd1UE-0005RO-4j for guile-user@gnu.org; Fri, 28 Dec 2018 18:24:14 -0500 Original-Received: by mail-pf1-x435.google.com with SMTP id i12so11002957pfo.7 for ; Fri, 28 Dec 2018 15:24:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=ydcWZpK3S4xCyb/F80C7WWYTq35vFmjtmN4gTzukx5s=; b=W9pi0gr8fHfPsT88oXJVjkExILTf2LzeUitHSuZj38zDgQzNL5SiEx9/rUr2tPM+c+ PIrr60bIpwP2/hqD98Kj9NvJ6SzpUm7hSdgkd0gEI8VRZQSxKGFkit0WbUtgObFaofiG 9KXP+PT6vVafCyLPb5dlQNrFV12lkgY5465DICSuZkTFh4RCL3n4lmABTm48m9BmASBY ErOFlWYDLlXhX4NoWWP9e+3WLYl/A9gDeIy8/hbfd3vmxO6yIS+vGt7njwkdZYnLqEW5 0BxZEAqM6S4+ZQloVs3iU/ERgmgSiiqw1W9g4dqqNU91xD6o8oohKn/mW+IB/7KzLIbi H1Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ydcWZpK3S4xCyb/F80C7WWYTq35vFmjtmN4gTzukx5s=; b=gIljEwLZn9S4/bAbAQYBXbaZRh8Y7LtbNg7bAJwi3+ddUQsip1XPZiPi6QWn821oOC RGCvKKKuupXHksT58Zv8sZbrTJ3BNW242OqWKfPmsnXdOwnrbb/xcoJglooqxz6H6K+W EvKmMdkpKHRVpiWiJOf/FtIYdGwM/3CfMUSuSeF2ZoR8Z6QZJexbZdOXsSW33YPFPs6d Whmz2XMWZlWdfmFGzxbdoP8TkefL+X/5R/1l39XnGgZbex00DA4eORByBZEhdbJRnrPJ /dq1widOA5mGy7gyI7wEY35LyI3j1Muoo/di4p9Axnr8dbohQ0JJp11oiMI3c9NUoBXz pE2Q== X-Gm-Message-State: AA+aEWZcRtHjJK2ZLKYKYuQrrxRVlccuZkWzsjdxHYwq0KIKGvK+L8md vTv3M8y/eZlU8o/e9HK7jUHzKtyw X-Google-Smtp-Source: AFSGD/VxJXJbnBMg4YiS58hHErKAEzKWFRsykgwl6JT8yZy30zJP8nyNSKUM0sci5zvKfewQujkYsA== X-Received: by 2002:a62:c683:: with SMTP id x3mr29325536pfk.10.1546039452406; Fri, 28 Dec 2018 15:24:12 -0800 (PST) Original-Received: from [192.168.1.48] (172-222-202-134.dhcp.chtrptr.net. [172.222.202.134]) by smtp.gmail.com with ESMTPSA id i21sm72261675pgm.17.2018.12.28.15.24.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Dec 2018 15:24:11 -0800 (PST) In-Reply-To: <1C6C55C9-24B1-4952-BC1A-18CF80749565@bluewin.ch> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::435 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:15166 Archived-At: 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