blob: d043ec20a7ad3dbef9cb6a991a3a444b2bfefb25 (
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
26
27
|
# 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 import *
class RRcppziggurat(RPackage):
"""'Rcpp' Integration of Different "Ziggurat" Normal RNG Implementations.
The Ziggurat generator for normally distributed random numbers, originally
proposed by Marsaglia and Tsang (2000, <doi:10.18637/jss.v005.i08>) has
been improved upon a few times starting with Leong et al (2005,
<doi:10.18637/jss.v012.i07>). This package provides an aggregation in order
to compare different implementations in order to provide an 'faster but
good enough' alternative for use with R and C++ code."""
cran = "RcppZiggurat"
version('0.1.6', sha256='9c78255ca476c945c05a564d1e4da363de714d890e0e27f3b252fd73c50eed71')
depends_on('r-rcpp', type=('build', 'run'))
depends_on('r-rcppgsl', type=('build', 'run'))
# not listed as a dependency but needed
depends_on('gsl')
|