summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-tensora/package.py
blob: a5aae618156aaf0f7b641a51cf44e2e45149a98d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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"

    license("GPL-2.0-or-later")

    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"))