aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-09-09 19:26:54 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-09-30 14:20:14 +0300
commit8733d2c235bf067d9aed9a8150b49ac1e5034f75 (patch)
treea25d09a306b97420bf40bd949dd0fea865a3c8de
parentb28cd884b861f623d9691c58e4eb17ae5cf38117 (diff)
downloadguix-8733d2c235bf067d9aed9a8150b49ac1e5034f75.tar.gz
guix-8733d2c235bf067d9aed9a8150b49ac1e5034f75.zip
gnu: Add julia-quadgk.
* gnu/packages/julia-xyz.scm (julia-quadgk): New variable.
-rw-r--r--gnu/packages/julia-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index a80964c2b0..6b89f1768e 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2985,6 +2985,31 @@ everything from run time algorithm choice to code generation at compile time.")
human-readable format.")
(license license:expat)))
+(define-public julia-quadgk
+ (package
+ (name "julia-quadgk")
+ (version "2.4.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaMath/QuadGK.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1hy0629yai6xflgxaflk9764lzr1lzhlghimxk1aqi212q9c6n33"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ `(("julia-datastructures" ,julia-datastructures)))
+ (home-page "https://github.com/JuliaMath/QuadGK.jl")
+ (synopsis "Adaptive 1d numerical Gauss–Kronrod integration")
+ (description "This package provides support for one-dimensional numerical
+integration in Julia using adaptive Gauss-Kronrod quadrature. The code was
+originally part of Base Julia. It supports integration of arbitrary numeric
+types, including arbitrary precision (@code{BigFloat}), and even integration of
+arbitrary normed vector spaces (e.g. matrix-valued integrands).")
+ (license license:expat)))
+
(define-public julia-quadmath
(package
(name "julia-quadmath")