rekado pushed a commit to branch master
in repository guix.
commit b07b4a7df2b87d376fdd570b0050d913999486e6
Author: Ricardo Wurmus <[email protected]>
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+)))