summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorbrook <brook@pkgsrc.org>2020-08-07 02:39:42 +0000
committerbrook <brook@pkgsrc.org>2020-08-07 02:39:42 +0000
commit18781a77cb605b16fa57ebf4b7afa3a6dfc9931e (patch)
tree5f3d114c0f57f3aa30e0375733b3430944ea23bc /math
parentba1e5711d6956410834e1628f45c381272532c1b (diff)
downloadpkgsrc-18781a77cb605b16fa57ebf4b7afa3a6dfc9931e.tar.gz
math/R-tensor: import R-tensor-1.5
The tensor product of two arrays is notionally an outer product of the arrays collapsed in specific extents by summing along the appropriate diagonals.
Diffstat (limited to 'math')
-rw-r--r--math/Makefile3
-rw-r--r--math/R-tensor/DESCR3
-rw-r--r--math/R-tensor/Makefile14
-rw-r--r--math/R-tensor/distinfo6
4 files changed, 25 insertions, 1 deletions
diff --git a/math/Makefile b/math/Makefile
index ac5a385400f..4f2618eab08 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.468 2020/08/06 23:37:21 joerg Exp $
+# $NetBSD: Makefile,v 1.469 2020/08/07 02:39:42 brook Exp $
COMMENT= Mathematics
@@ -103,6 +103,7 @@ SUBDIR+= R-stabledist
SUBDIR+= R-statmod
SUBDIR+= R-stringdist
SUBDIR+= R-survey
+SUBDIR+= R-tensor
SUBDIR+= R-tensorA
SUBDIR+= R-tibble
SUBDIR+= R-tidyr
diff --git a/math/R-tensor/DESCR b/math/R-tensor/DESCR
new file mode 100644
index 00000000000..29c3a4e2b5d
--- /dev/null
+++ b/math/R-tensor/DESCR
@@ -0,0 +1,3 @@
+The tensor product of two arrays is notionally an outer product of the
+arrays collapsed in specific extents by summing along the appropriate
+diagonals.
diff --git a/math/R-tensor/Makefile b/math/R-tensor/Makefile
new file mode 100644
index 00000000000..869cde02ee1
--- /dev/null
+++ b/math/R-tensor/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2020/08/07 02:39:42 brook Exp $
+
+MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= ${R_HOMEPAGE_BASE}/tensor/
+COMMENT= Tensor product of arrays
+LICENSE= gnu-gpl-v2
+
+R_PKGNAME= tensor
+R_PKGVER= 1.5
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/R-tensor/distinfo b/math/R-tensor/distinfo
new file mode 100644
index 00000000000..27b93143084
--- /dev/null
+++ b/math/R-tensor/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/08/07 02:39:42 brook Exp $
+
+SHA1 (R/tensor_1.5.tar.gz) = 9196690813d5763969e7be0ffb30482a095a5784
+RMD160 (R/tensor_1.5.tar.gz) = 12cd7985464e537fb1f241ab6a6d7ce6e7004c02
+SHA512 (R/tensor_1.5.tar.gz) = 66ba8446b20f1a46da5d1e008f3777c06bf4fa684ebb715c6b8038cd896bbe5bd9b70f3adb98bf41545a1f141429c779a08612a782ac58f42b888d707acf912a
+Size (R/tensor_1.5.tar.gz) = 2518 bytes