guix-commits
[Top][All Lists]
Advanced

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

23/25: gnu: Add julia-rotations.


From: guix-commits
Subject: 23/25: gnu: Add julia-rotations.
Date: Tue, 8 Jun 2021 10:58:48 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 1fde30c2902808d6c11dd612c1131f0cd24372a3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jun 8 17:46:01 2021 +0300

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

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 03f7cc7..76cbc1d 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2343,6 +2343,35 @@ high-order accuracy, assuming that @code{f(x0+h)} has a 
Taylor series or some
 other power series in @code{h}.")
     (license license:expat)))
 
+(define-public julia-rotations
+  (package
+    (name "julia-rotations")
+    (version "1.0.2")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaGeometry/Rotations.jl";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "1l1a3bnrpv9qdksnk3c8j82ik3yrnpsmnyxyiy3gc1yjya5pajqj"))))
+    (build-system julia-build-system)
+    (propagated-inputs
+     `(("julia-staticarrays" ,julia-staticarrays)))
+    (native-inputs
+     `(("julia-benchmarktools" ,julia-benchmarktools)
+       ("julia-forwarddiff" ,julia-forwarddiff)
+       ("julia-unitful" ,julia-unitful)))
+    (home-page "https://github.com/JuliaGeometry/Rotations.jl";)
+    (synopsis "Julia implementations for different rotation parameterisations")
+    (description "This package implements various 3D rotation parameterizations
+and defines conversions between them.  At their heart, each rotation
+parameterization is a 3×3 unitary (orthogonal) matrix (based on the
+@code{StaticArrays.jl} package), and acts to rotate a 3-vector about the origin
+through matrix-vector multiplication.")
+    (license license:expat)))
+
 (define-public julia-safetestsets
   ;; The only release tag is the first commit in the repository.
   (let ((commit "e553edc4c753344d38349304b9ff5483c3b8ff21")



reply via email to

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