From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.user Subject: Re: AIscm array operations for Scheme Date: Thu, 3 Aug 2017 22:53:47 +0800 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1501772063 23655 195.159.176.226 (3 Aug 2017 14:54:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 3 Aug 2017 14:54:23 +0000 (UTC) Cc: Guile User To: Jan Wedekind Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Aug 03 16:54:19 2017 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 1ddHVy-0005s1-Ru for guile-user@m.gmane.org; Thu, 03 Aug 2017 16:54:18 +0200 Original-Received: from localhost ([::1]:50228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddHW4-0007xZ-LH for guile-user@m.gmane.org; Thu, 03 Aug 2017 10:54:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddHVX-0007wG-47 for guile-user@gnu.org; Thu, 03 Aug 2017 10:53:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddHVV-0003fk-LL for guile-user@gnu.org; Thu, 03 Aug 2017 10:53:51 -0400 Original-Received: from mail-io0-x22d.google.com ([2607:f8b0:4001:c06::22d]:37132) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddHVV-0003ey-EZ for guile-user@gnu.org; Thu, 03 Aug 2017 10:53:49 -0400 Original-Received: by mail-io0-x22d.google.com with SMTP id c74so7861697iod.4 for ; Thu, 03 Aug 2017 07:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=x6h+o33za6sp6sQWFch7kESOhSCx/ULjVW4MVkhZhhA=; b=B7IUQ5TfmtNXQLeNybLY++fuVWVjv2u8mKfleSx/DaUjgDdx9FeHhozceRGACvIeDl /o3pLdzB2DycPNvHGSm6Rw8jmC7peT56JuRA/rf+N8gICYL8zgKh8SVK9ohUNWQNRYQB UnfuLXBvUugHxOJeSIdwRsWZmXunaMFCfextVNQWd7nbLsPTvjsLVoGQdr0KHUWFXaN5 hlBXmXmhIJ3fSYQsrHJiomgEAUilPTbFQs2ZAOUc5SyNSeFXu76fagBHJPwEIjKWZ0qX gH/5OFKfDVnsqB3+pY61Nr0tVr/Q22M80F0DEZVQ1Zu7Ikd8VCz+gSNmux4k4Qnd0ieZ IMaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=x6h+o33za6sp6sQWFch7kESOhSCx/ULjVW4MVkhZhhA=; b=dhomBAQS8DlLCzzkCWV7qqWtBqvAITJRGJV+T56TsFWG0Dyp6sAh9oQz5gCk7SjgIx OxvWHFXsip4JNfUw6gxhb52pzzyyKd8uDUFuJf7lnwKlV1+Q3gPqIAwF0iug+a+SeJdy QVqjlL6zGTlIq4u98mqiFb3+Y2ty4m3r5HsinzF90wVIwYBD8KTIzsq8KLYGEk1dwX8q vw+G7XOPGSAJ4DIV7KmztcTZs+bt1VRjuXz2EHAv/dey8Vf+pkpPpan6WQOSYsYPOyal LiU4q/NuUGAVwENnhqOc0svDgdPMGJhA8ErmL9MFsaBxg7FlYZpwRwj7nctskHTxXYOL agIg== X-Gm-Message-State: AIVw110k/nPZMheYdII0AEm4M3W5cgjAbRAwaKJ4zbOui4z9fQYpGwmf Ze2VDIFbGhlXpiZxo4P+IUmdXOuAcg== X-Received: by 10.107.4.18 with SMTP id 18mr2009908ioe.185.1501772028375; Thu, 03 Aug 2017 07:53:48 -0700 (PDT) Original-Received: by 10.107.199.1 with HTTP; Thu, 3 Aug 2017 07:53:47 -0700 (PDT) Original-Received: by 10.107.199.1 with HTTP; Thu, 3 Aug 2017 07:53:47 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::22d X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:14016 Archived-At: Looks promising! What's the plan about AIscm in the future? Is it aiming for a library, or something research tool like Sage? 2017=E5=B9=B48=E6=9C=883=E6=97=A5 15:23=EF=BC=8C"Jan Wedekind" =E5=86=99=E9=81=93=EF=BC=9A > Thanks. > Currently neither. I have in mind to add some LAPACK bindings (singular > value decomposition, eigenvalue decomposition, least squares to begin > with). First full native floating point support needs to be implemented. > Here is an example of a matrix vector product: > > (use-modules (aiscm sequence) (aiscm expression) (aiscm tensor)) > (tensor i (sum k (* (get (arr (2 3) (5 7)) i k) (get (arr 11 13) k)))= ) > $3 =3D #>>: > (87 124) > > Floating point values currently fall back on Scheme objects: > > (tensor i (sum k (* (get (arr (2 3) (5 7)) i k) (get (arr 1.1 1.3) > k)))) > $4 =3D #>: > (8.7 12.4) > > Note that in this case the array loops are still JIT compiled. Addition > and multiplication are handled by JIT compiling callbacks into GNU Guile > (scm_plus, scm_product). > > Regards > Jan > > On Thu, 3 Aug 2017, Nala Ginrut wrote: > > Nice work! >> Do you use BLAS or MKL for vector operation? >> >> >> 2017=E5=B9=B48=E6=9C=883=E6=97=A5 04:16=EF=BC=8C"Jan Wedekind" =E5=86=99=E9=81=93=EF=BC=9A >> >> Hi, >>> I have released a new version of AIscm [1]. A Guile extension for >>> numerical arrays and tensors. It now supports convolutions [2] and tens= or >>> operations [3]. There are packages for different versions of Debian and >>> Ubuntu. Also thanks to Andrey Rahmatullin's sponsorship, the package is >>> part of Debian Testing [4]. >>> >>> Regards >>> Jan >>> >>> [1] http://wedesoft.github.io/aiscm/ >>> [2] http://wedesoft.github.io/aiscm/convolution.html >>> [3] http://wedesoft.github.io/aiscm/operation.html#tensor-operations >>> [4] https://tracker.debian.org/pkg/aiscm >>> >>> >>>