From patchwork Wed Dec 14 20:35:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 45282 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E4D9727BBF0; Wed, 14 Dec 2022 20:38:38 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8E9E327BBE9 for ; Wed, 14 Dec 2022 20:38:38 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5YVD-0006e0-5G; Wed, 14 Dec 2022 15:37:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5YVB-0006cE-Nc for guix-patches@gnu.org; Wed, 14 Dec 2022 15:37:17 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5YVB-00037q-EV for guix-patches@gnu.org; Wed, 14 Dec 2022 15:37:17 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5YVB-0001fr-Ae; Wed, 14 Dec 2022 15:37:17 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60075] [PATCH 31/58] gnu: Add julia-realdot. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: zimon.toutoune@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 14 Dec 2022 20:37:17 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60075 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60075@debbugs.gnu.org Cc: Efraim Flashner , zimon.toutoune@gmail.com X-Debbugs-Original-Xcc: zimon.toutoune@gmail.com Received: via spool by 60075-submit@debbugs.gnu.org id=B60075.16710502356388 (code B ref 60075); Wed, 14 Dec 2022 20:37:17 +0000 Received: (at 60075) by debbugs.gnu.org; 14 Dec 2022 20:37:15 +0000 Received: from localhost ([127.0.0.1]:41622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5YV8-0001em-DP for submit@debbugs.gnu.org; Wed, 14 Dec 2022 15:37:14 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:43531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5YV1-0001XZ-9O for 60075@debbugs.gnu.org; Wed, 14 Dec 2022 15:37:07 -0500 Received: by mail-wm1-f53.google.com with SMTP id k22-20020a05600c1c9600b003d1ee3a6289so314434wms.2 for <60075@debbugs.gnu.org>; Wed, 14 Dec 2022 12:37:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=rnHGcOmt7QSIbGs3v85U8w09RquiE88sPsoycdU5IxE=; b=Gv5+UXGOPew2jDEpWxAnOwujwGdBGR+gx56+8LMkEldefJc1I6GmDmF0CAJ8nC/aRq VwlZL6Sprlwu28eHCsTLHSQRq7/LetwLbRz8lBphi65xii7UhH8/Cuzyjd7jB5OBKWCo ScU4lEGbKuYKxR2zLVQeq9GBO3g8dfsVF65QzuQEy+rJVOH/xDuCWpg4w6PN/LuKrex5 NW6w2AvBrFJsOKercnBJkze4jlrUveGIjvOZt74axc+WtGIreC7Px+u6pU+ptu99MqMA aUSuW+x1siqiIbrBZjDlzkYlCdrHQtvXDxBrbZ4ohOrj1cNRqABiNOZdu4v68/supnuR kyAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=rnHGcOmt7QSIbGs3v85U8w09RquiE88sPsoycdU5IxE=; b=dgJmFIBn3S8tvvfTU31owgRk8Hx4xfkCoHYqTNsXd3eecM7h9aSYhIzcjB0ABjlCtj KTq3ld0X19L9GuIGLL0aRqvNyzogvu1IqVwialozXCUsyMiF19uhFoqRgRhX8KRlMxSP oHXUIXXAYHJSUsMPWmASLzT5AFsDpWTlNjpDOVXfg6u5FMWjcPZf+h4IP9+uTipMfncb jcNskvfWU6oEEZIlWlWwsqydXUzyChIaRbEcpnS+6Z5kOqQ/afaIE/jt4fAYotGfEle3 1/V+4RsTlkFpEgnews8iMSXJAdOBJ4eY0T0PIZIYDBJVM84kDWDDWj8uq2tOeQ1OCbfC K0ng== X-Gm-Message-State: ANoB5pm7IUu+Fnjt5BILmX8HbEWIO5g40+o0jdaEa6KekaURu3GaNtD5 Ylj5thNYlcxETEjtw1BRqHeZCQZf0zw64A== X-Google-Smtp-Source: AA0mqf4O6P6l+qRf3mwg8f/IhhMZI/D6e0g+WsC8rNdS6H7W4YOoMDyORBsvG8YYke+xZICrkeXGrw== X-Received: by 2002:a05:600c:a10:b0:3cf:ca4c:1e29 with SMTP id z16-20020a05600c0a1000b003cfca4c1e29mr19298949wmp.41.1671050227027; Wed, 14 Dec 2022 12:37:07 -0800 (PST) Received: from localhost ([2a02:ed3:914:7800:b62e:99ff:fef0:7bc0]) by smtp.gmail.com with ESMTPSA id bg2-20020a05600c3c8200b003b47e75b401sm4799494wmb.37.2022.12.14.12.37.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Dec 2022 12:37:06 -0800 (PST) From: Efraim Flashner Date: Wed, 14 Dec 2022 22:35:29 +0200 Message-Id: <7f5a9f32c35224fc1a48cab2baed29d70d3596a7.1671049574.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.38.1 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/julia-xyz.scm (julia-realdot): New variable. --- gnu/packages/julia-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 80dfe37996..3bf1060e4f 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -4637,6 +4637,29 @@ (define-public julia-ratios type, which make some sacrifices but have better computational performance.") (license license:expat))) +(define-public julia-realdot + (package + (name "julia-realdot") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaMath/RealDot.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jr8dq110j8axjfz936b1lqqcnqg3979rfg11w76rq1iz7zgi691")))) + (build-system julia-build-system) + (home-page "https://github.com/JuliaMath/RealDot.jl") + (synopsis "Compute realdot efficiently") + (description "This package only contains and exports a single function +@code{realdot(x, y)}. It computes @code{real(LinearAlgebra.dot(x, y))} while +avoiding computing the imaginary part of @code{LinearAlgebra.dot(x, y)} if +possible. The real dot product is useful when one treats complex numbers as +embedded in a real vector space.") + (license license:expat))) + (define-public julia-recipesbase (package (name "julia-recipesbase")