<?xml version="1.0" encoding="UTF-8"?>
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:title>'OpenCL'-Ported R 'Mathlib' for GPU-Accelerated Packages</dc:title>
  <dc:title>R package nmathopencl version 0.8.3</dc:title>
  <dc:description>Ships statistical and mathematical routines from R internal
    'nmath' ('Mathlib') as 'OpenCL' C sources under directory 'inst/cl/', with R
    wrappers that use the GPU when 'OpenCL' is available at compile time and
    fall back to 'stats' equivalents otherwise. Aimed at package developers
    building custom kernels (for example Bayesian GLMs via suggested package
    'glmbayes') using 'opencltools' kernel loaders and related helpers. Contains
    translated shims, an illustrative GLM-related kernel subsystem, vignettes,
    and optional GPU acceleration. The ported routines are translated from the
    'nmath' ('Mathlib') and 'Rmath' sources of R Core Team (2026) "R: A
    Language and Environment for Statistical Computing"
    &lt;doi:10.32614/R.manuals&gt;. 'OpenCL' GPU execution follows the standard
    described in Stone, Gohara, and Shi (2010) &lt;doi:10.1109/MCSE.2010.69&gt;. The
    likelihood subgradient simulation methodology implemented by the
    illustrative GLM kernel subsystem is described in Nygren and Nygren (2006)
    &lt;doi:10.1198/016214506000000357&gt;.</dc:description>
  <dc:type>Software</dc:type>
  <dc:relation>Depends: MASS, R (&gt;= 3.5.0)</dc:relation>
  <dc:relation>Imports: stats, Rcpp (&gt;= 1.1.1), RcppParallel, Rdpack (&gt;= 0.11-0),
opencltools (&gt;= 0.8.2)</dc:relation>
  <dc:relation>LinkingTo: Rcpp, RcppArmadillo, RcppParallel, opencltools</dc:relation>
  <dc:relation>Suggests: glmbayes (&gt;= 0.9.6), knitr, rmarkdown, testthat (&gt;= 3.0.0),
spelling</dc:relation>
  <dc:creator>Kjell Nygren &lt;kjell.a.nygren@gmail.com&gt;</dc:creator>
  <dc:publisher>Comprehensive R Archive Network (CRAN)</dc:publisher>
  <dc:contributor>Kjell Nygren [aut, cre],
  The R Core Team [ctb, cph] (R 'Mathlib' sources and derived/adapted
    routines),
  The R Foundation [cph] (Portions of R 'Mathlib' and R source code),
  Ross Ihaka [ctb, cph] (R 'Mathlib'),
  Robert Gentleman [ctb, cph] (Portions of R 'Mathlib'),
  Morten Welinder [ctb, cph] (Portions of R 'Mathlib' (pgamma, phyper,
    ebd0)),
  Martin Maechler [ctb] (Portions of R 'Mathlib'),
  Catherine Loader [ctb] (Author of the dbinom/bd0/stirlerr density
    routines in R 'Mathlib' ported here),
  Claus Ekstrøm [ctb] (Author of the noncentral t density (dnt) in R
    'Mathlib' ported here),
  Peter Ruckdeschel [ctb] (Author of the noncentral F density (dnf) in R
    'Mathlib' ported here),
  Alfred H. Morris, Jr. [ctb] (ACM TOMS 708 incomplete beta code
    (toms708) ported here),
  Armido R. Didonato [ctb] (ACM TOMS 708 incomplete beta code (toms708)
    ported here),
  The Khronos Group Inc [cph] ('OpenCL' API headers in inst/include/CL
    (Apache License 2.0))</dc:contributor>
  <dc:rights>GPL (&gt;= 2)</dc:rights>
  <dc:date>2026-07-16</dc:date>
  <dc:format>application/tgz</dc:format>
  <dc:identifier>https://CRAN.R-project.org/package=nmathopencl</dc:identifier>
  <dc:identifier>doi:10.32614/CRAN.package.nmathopencl</dc:identifier>
  <dc:language>en-US</dc:language>
</oai_dc:dc>
