summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-scaledmatrix/package.py
blob: 7f2cf3618f8d8e74793b8eaba9347ccfba45f650 (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
# Copyright 2013-2022 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 RScaledmatrix(RPackage):
    """Creating a DelayedMatrix of Scaled and Centered Values.

    Provides delayed computation of a matrix of scaled and centered values.
    The result is equivalent to using the scale() function but avoids explicit
    realization of a dense matrix during block processing. This permits greater
    efficiency in common operations, most notably matrix multiplication."""

    bioc = "ScaledMatrix"

    version('1.4.0', commit='32e6e918bc7bb64bbf75613d353ca268c7d04292')
    version('1.2.0', commit='d0573e14ca537b40ade7dd1c9cf0cadae60d4349')

    depends_on('r-matrix', type=('build', 'run'))
    depends_on('r-s4vectors', type=('build', 'run'))
    depends_on('r-delayedarray', type=('build', 'run'))