summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2018-03-01 19:41:35 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-03-03 21:27:30 +0100
commit4e92911c828fda34636f90b653ec7046fd97602e (patch)
tree8c8ad7580844a2a95329f6642e79ec4d26d96509 /gnu
parent24074b0bddb6af9386239b4bbf0132b30b4358f9 (diff)
downloadguix-4e92911c828fda34636f90b653ec7046fd97602e.tar.gz
gnu: Add java-jtransforms.
* gnu/packages/algebra.scm (java-jtransforms): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/algebra.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index ebd75a7d36..2aa1777db3 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -685,6 +685,34 @@ the la4j library are:
 that can store up to 263 elements.")
     (license license:bsd-2)))
 
+(define-public java-jtransforms
+  (package
+    (name "java-jtransforms")
+    (version "3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://search.maven.org/remotecontent?"
+                                  "filepath=com/github/wendykierp/JTransforms/"
+                                  version "/JTransforms-" version "-sources.jar"))
+              (sha256
+               (base32
+                "1haw5m8shv5srgcpwkl853dz8bv6h90bzlhcps6mdpb4cixjirsg"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "jtransforms.jar"
+       #:tests? #f ; tests are not included in the release archive
+       #:jdk ,icedtea-8))
+    (propagated-inputs
+     `(("java-commons-math3" ,java-commons-math3)
+       ("java-jlargearrays" ,java-jlargearrays)))
+    (home-page "https://github.com/wendykierp/JTransforms")
+    (synopsis "Multithreaded FFT library written in pure Java")
+    (description "JTransforms is a multithreaded FFT library written in pure
+Java.  Currently, four types of transforms are available: @dfn{Discrete
+Fourier Transform} (DFT), @dfn{Discrete Cosine Transform} (DCT), @dfn{Discrete
+Sine Transform} (DST) and @dfn{Discrete Hartley Transform} (DHT).")
+    (license license:bsd-2)))
+
 (define-public eigen
   (package
     (name "eigen")