guix-commits
[Top][All Lists]
Advanced

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

02/80: gnu: Add r-tensor.


From: guix-commits
Subject: 02/80: gnu: Add r-tensor.
Date: Wed, 12 Aug 2020 07:57:55 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit b07b4a7df2b87d376fdd570b0050d913999486e6
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Aug 12 11:53:27 2020 +0200

    gnu: Add r-tensor.
    
    * gnu/packages/cran.scm (r-tensor): New variable.
---
 gnu/packages/cran.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 54109cd..c8325ad 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22753,3 +22753,24 @@ and predictions of any machine learning model.  
Implemented methods are:
 goodness-of-fit for continuous univariate distributions, using efficient
 algorithms.")
     (license license:gpl2+)))
+
+(define-public r-tensor
+  (package
+    (name "r-tensor")
+    (version "1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "tensor" version))
+       (sha256
+        (base32
+         "19mfsgr6vz4lgwidm80i4yw0y1dr3n8i6qz7g4n2xa0k74zc5pp1"))))
+    (properties `((upstream-name . "tensor")))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/web/packages/tensor/";)
+    (synopsis "Tensor product of arrays")
+    (description
+     "The tensor product of two arrays is notionally an outer product of the
+arrays collapsed in specific extents by summing along the appropriate
+diagonals.  This package allows you to compute the tensor product of arrays.")
+    (license license:gpl2+)))



reply via email to

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