r-tensor: New package (#16697)
This commit is contained in:
parent
864d4a2232
commit
d957c621ef
20
var/spack/repos/builtin/packages/r-tensor/package.py
Normal file
20
var/spack/repos/builtin/packages/r-tensor/package.py
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
||||||
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
|
class RTensor(RPackage):
|
||||||
|
"""The tensor product of two arrays is notionally an outer product of
|
||||||
|
the arrays collapsed in specific extents by summing along the
|
||||||
|
appropriate diagonals.
|
||||||
|
"""
|
||||||
|
|
||||||
|
homepage = "https://cloud.r-project.org/package=tensor"
|
||||||
|
url = "https://cloud.r-project.org/src/contrib/tensor_1.5.tar.gz"
|
||||||
|
list_url = "https://cloud.r-project.org/src/contrib/Archive/tensor"
|
||||||
|
|
||||||
|
version('1.5', sha256='e1dec23e3913a82e2c79e76313911db9050fb82711a0da227f94fc6df2d3aea6')
|
||||||
|
version('1.4', sha256='6f1643da018d58a0aaa27260df6fdf687fc36f4cd1964931b3180b7df8c0e642')
|
Loading…
Reference in New Issue
Block a user