aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangyuan Yang <ygy@FreeBSD.org>2021-05-24 07:49:23 +0000
committerGuangyuan Yang <ygy@FreeBSD.org>2021-05-24 07:49:23 +0000
commit8048e6496830f24279d51077e0ed3ec047cf3c38 (patch)
treeb2e3892ea0da41a980da0013870e87b5afbd2884
parent9ceca1aabff69723190c12904c44aabef3c568e5 (diff)
math/R-cran-tensor: New port: Tensor product of arrays
Approved by: lwhsu (mentor, implicit)
-rw-r--r--math/Makefile1
-rw-r--r--math/R-cran-tensor/Makefile15
-rw-r--r--math/R-cran-tensor/distinfo3
-rw-r--r--math/R-cran-tensor/pkg-descr4
4 files changed, 23 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index d4c55f4dade9..07257f707961 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -117,6 +117,7 @@
SUBDIR += R-cran-stabledist
SUBDIR += R-cran-statmod
SUBDIR += R-cran-survey
+ SUBDIR += R-cran-tensor
SUBDIR += R-cran-truncnorm
SUBDIR += R-cran-units
SUBDIR += R-cran-uroot
diff --git a/math/R-cran-tensor/Makefile b/math/R-cran-tensor/Makefile
new file mode 100644
index 000000000000..96ebd8f1d181
--- /dev/null
+++ b/math/R-cran-tensor/Makefile
@@ -0,0 +1,15 @@
+# Created by: Guangyuan Yang <ygy@FreeBSD.org>
+
+PORTNAME= tensor
+DISTVERSION= 1.5
+CATEGORIES= math
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= ygy@FreeBSD.org
+COMMENT= Tensor product of arrays
+
+LICENSE= GPLv2+
+
+USES= cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-tensor/distinfo b/math/R-cran-tensor/distinfo
new file mode 100644
index 000000000000..96e18c9a8555
--- /dev/null
+++ b/math/R-cran-tensor/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621841003
+SHA256 (tensor_1.5.tar.gz) = e1dec23e3913a82e2c79e76313911db9050fb82711a0da227f94fc6df2d3aea6
+SIZE (tensor_1.5.tar.gz) = 2518
diff --git a/math/R-cran-tensor/pkg-descr b/math/R-cran-tensor/pkg-descr
new file mode 100644
index 000000000000..95a4ee3f652c
--- /dev/null
+++ b/math/R-cran-tensor/pkg-descr
@@ -0,0 +1,4 @@
+The tensor product of two arrays is notionally an outer product of the arrays
+collapsed in specific extents by summing along the appropriate diagonals.
+
+WWW: https://CRAN.R-project.org/package=tensor