[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/25: gnu: Add julia-dualnumbers.
From: |
guix-commits |
Subject: |
07/25: gnu: Add julia-dualnumbers. |
Date: |
Tue, 8 Jun 2021 10:58:43 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit ae131820618e4f15aac46c02c7b496d842c59865
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jun 8 15:56:06 2021 +0300
gnu: Add julia-dualnumbers.
* gnu/packages/julia-xyz.scm (julia-dualnumbers): New variable.
---
gnu/packages/julia-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 2a58c0c..827b22b 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -706,6 +706,40 @@ a given rule exists, and symbolically apply rules to
simple Julia expressions.")
stressing the robustness of differentiation tools.")
(license license:expat)))
+(define-public julia-dualnumbers
+ (package
+ (name "julia-dualnumbers")
+ (version "0.6.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaDiff/DualNumbers.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "05vr5wbzqpchnb96b3pmn67x196mbfnkv7r9bdlz3gm56if4awk5"))))
+ (build-system julia-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'adjust-test-suite
+ (lambda _
+ (substitute* "test/runtests.jl"
+ ;; Seems to not play nicely with SpecialFunctions
+ ((".*isempty.*") "")))))))
+ (propagated-inputs
+ `(("julia-calculus" ,julia-calculus)
+ ("julia-nanmath" ,julia-nanmath)
+ ("julia-specialfunctions" ,julia-specialfunctions)))
+ (home-page "https://github.com/JuliaDiff/DualNumbers.jl")
+ (synopsis "Represent dual numbers and for perform dual algebra")
+ (description "The @code{DualNumbers} Julia package defines the @code{Dual}
+type to represent dual numbers, and supports standard mathematical operations
on
+them. Conversions and promotions are defined to allow performing operations on
+combinations of dual numbers with predefined Julia numeric types.")
+ (license license:expat)))
+
(define-public julia-example
(let ((commit "f968c69dea24f851d0c7e686db23fa55826b5388"))
(package
- branch master updated (c9e8e7b -> 503c203), guix-commits, 2021/06/08
- 03/25: gnu: Add julia-logexpfunctions., guix-commits, 2021/06/08
- 04/25: gnu: Add julia-mutablearithmetics., guix-commits, 2021/06/08
- 06/25: gnu: Add julia-paddedviews., guix-commits, 2021/06/08
- 05/25: gnu: Add julia-genericschur., guix-commits, 2021/06/08
- 07/25: gnu: Add julia-dualnumbers.,
guix-commits <=
- 08/25: gnu: Add julia-quaternions., guix-commits, 2021/06/08
- 09/25: gnu: Add julia-genericlinearalgebra., guix-commits, 2021/06/08
- 11/25: gnu: Add julia-nnlib., guix-commits, 2021/06/08
- 02/25: gnu: Add julia-colorvectorspace., guix-commits, 2021/06/08
- 10/25: gnu: Add julia-bandedmatrices., guix-commits, 2021/06/08
- 15/25: gnu: Add julia-blockbandedmatrices., guix-commits, 2021/06/08
- 19/25: gnu: Add julia-woodburymatrices., guix-commits, 2021/06/08
- 20/25: gnu: Add julia-axisalgorithms., guix-commits, 2021/06/08
- 22/25: gnu: Add julia-stringdistances., guix-commits, 2021/06/08
- 01/25: gnu: Add julia-statsbase., guix-commits, 2021/06/08