guix-commits
[Top][All Lists]
Advanced

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

10/33: gnu: Add julia-axisarrays.


From: guix-commits
Subject: 10/33: gnu: Add julia-axisarrays.
Date: Mon, 14 Jun 2021 07:46:19 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit cb66e4ae6a2e49f3a1739a19970874eb6212017f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jun 14 11:37:28 2021 +0300

    gnu: Add julia-axisarrays.
    
    * gnu/packages/julia-xyz.scm (julia-axisarrays): New variable.
---
 gnu/packages/julia-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 9d7601c..160dfc4 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -200,6 +200,37 @@ typically apply along the columns of a matrix, you can 
instead pick an arbitrary
 axis (dimension).")
     (license license:expat)))
 
+(define-public julia-axisarrays
+  (package
+    (name "julia-axisarrays")
+    (version "0.4.3")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaArrays/AxisArrays.jl";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "079rj7wvh9ks293g2ih1yah5k0sg8wazw08z3vg2bxj4s16wr64p"))))
+    (build-system julia-build-system)
+    (propagated-inputs
+     `(("julia-rangearrays" ,julia-rangearrays)
+       ("julia-intervalsets" ,julia-intervalsets)
+       ("julia-itertools" ,julia-itertools)))
+    (native-inputs
+     `(("julia-offsetarrays" ,julia-offsetarrays)
+       ("julia-unitful" ,julia-unitful)))
+    (home-page "http://juliaarrays.github.io/AxisArrays.jl/latest/";)
+    (synopsis "Arrays where each dimension can have a named axis with values")
+    (description "This package for the Julia language provides an array type
+(the AxisArray) that knows about its dimension names and axis values.  This
+allows for indexing by name without incurring any runtime overhead.  This
+permits one to implement algorithms that are oblivious to the storage order of
+the underlying arrays.  AxisArrays can also be indexed by the values along 
their
+axes, allowing column names or interval selections.")
+    (license license:expat)))
+
 (define-public julia-bandedmatrices
   (package
     (name "julia-bandedmatrices")



reply via email to

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