24 lines
978 B
Python
24 lines
978 B
Python
# Copyright 2013-2023 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.package import *
|
|
|
|
|
|
class RTensora(RPackage):
|
|
"""Advanced Tensor Arithmetic with Named Indices.
|
|
|
|
Provides convenience functions for advanced linear algebra with tensors and
|
|
computation with data sets of tensors on a higher level abstraction. It
|
|
includes Einstein and Riemann summing conventions, dragging, co- and
|
|
contravariate indices, parallel computations on sequences of tensors."""
|
|
|
|
cran = "tensorA"
|
|
|
|
version("0.36.2", sha256="8e8947566bd3b65a54de4269df1abaa3d49cf5bfd2a963c3274a524c8a819ca7")
|
|
version("0.36.1", sha256="c7ffe12b99867675b5e9c9f31798f9521f14305c9d9f9485b171bcbd8697d09c")
|
|
version("0.36", sha256="97b3e72f26ca3a756d045008764d787a32c68f0a276fb7a29b6e1b4592fdecf6")
|
|
|
|
depends_on("r@2.2.0:", type=("build", "run"))
|