# ------------------------------------------------ # CITATION.cff file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # ------------------------------------------------ cff-version: 1.2.0 message: 'To cite package "nmathopencl" in publications use:' type: software license: GPL-2.0-or-later title: 'nmathopencl: ''OpenCL''-Ported R ''Mathlib'' for GPU-Accelerated Packages' version: 0.8.2 identifiers: - type: doi value: 10.32614/CRAN.package.nmathopencl abstract: '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" . ''OpenCL'' GPU execution follows the standard described in Stone, Gohara, and Shi (2010) . The likelihood subgradient simulation methodology implemented by the illustrative GLM kernel subsystem is described in Nygren and Nygren (2006) .' authors: - family-names: Nygren given-names: Kjell email: kjell.a.nygren@gmail.com preferred-citation: type: manual title: 'nmathopencl: OpenCL-Ported R Mathlib for GPU-Accelerated Packages' authors: - family-names: Nygren given-names: Kjell email: kjell.a.nygren@gmail.com year: '2026' notes: R package version 0.8.2 url: https://github.com/knygren/nmathopencl repository: https://cran.r-universe.dev repository-code: https://github.com/knygren/nmathopencl commit: 9ebff2e15c259dba7acd0c242d7eb207a217f44b url: https://knygren.r-universe.dev/nmathopencl date-released: '2026-06-11' contact: - family-names: Nygren given-names: Kjell email: kjell.a.nygren@gmail.com references: - type: article title: Likelihood Subgradient Densities authors: - family-names: Nygren given-names: Kjell N. - family-names: Nygren given-names: Lan M. journal: Journal of the American Statistical Association volume: '101' issue: '475' year: '2006' doi: 10.1198/016214506000000357 start: '1144' end: '1156' - type: article title: 'OpenCL: A Parallel Programming Standard for Heterogeneous Computing Systems' authors: - family-names: Stone given-names: John E. - family-names: Gohara given-names: David - family-names: Shi given-names: Guochun journal: Computing in Science \& Engineering volume: '12' issue: '3' year: '2010' doi: 10.1109/MCSE.2010.69 start: '66' end: '72'