To cite nmathopencl in publications use the first entry for the OpenCL-ported nmath library. If you report OpenCL GPU execution, cite Stone et al. (2010). Cite Nygren and Nygren (2006) for likelihood subgradient methodology when relevant to envelope-based GLM simulation work. Host/runtime OpenCL tooling is provided by the imported package opencltools (cite separately if used).

Nygren K (2026). nmathopencl: OpenCL-Ported R Mathlib for GPU-Accelerated Packages. R package version 0.8.1, https://github.com/knygren/nmathopencl.

Nygren K, Nygren L (2006). “Likelihood Subgradient Densities.” Journal of the American Statistical Association, 101(475), 1144–1156. doi:10.1198/016214506000000357.

Stone J, Gohara D, Shi G (2010). “OpenCL: A Parallel Programming Standard for Heterogeneous Computing Systems.” Computing in Science & Engineering, 12(3), 66–72. doi:10.1109/MCSE.2010.69.

Corresponding BibTeX entries:

  @Manual{,
    title = {{nmathopencl}: OpenCL-Ported R Mathlib for GPU-Accelerated
      Packages},
    author = {Kjell Nygren},
    year = {2026},
    note = {R package version 0.8.1},
    url = {https://github.com/knygren/nmathopencl},
  }
  @Article{,
    title = {Likelihood Subgradient Densities},
    author = {Kjell N. Nygren and Lan M. Nygren},
    journal = {Journal of the American Statistical Association},
    volume = {101},
    number = {475},
    pages = {1144--1156},
    year = {2006},
    doi = {10.1198/016214506000000357},
  }
  @Article{,
    title = {OpenCL: A Parallel Programming Standard for Heterogeneous
      Computing Systems},
    author = {James E. Stone and David Gohara and Guochun Shi},
    journal = {Computing in Science \& Engineering},
    volume = {12},
    number = {3},
    pages = {66--72},
    year = {2010},
    doi = {10.1109/MCSE.2010.69},
  }