Other packages > Find by keyword >

nmathopencl  

'OpenCL'-Ported R 'Mathlib' for GPU-Accelerated Packages
View on CRAN: Click here


Download and install nmathopencl package within the R console
Install from CRAN:
install.packages("nmathopencl")

Install from Github:
library("remotes")
install_github("cran/nmathopencl")

Install by package version:
library("remotes")
install_version("nmathopencl", "0.8.3")



Attach the package and use:
library("nmathopencl")
Maintained by
Kjell Nygren
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-06-21
Latest Update: 2026-06-21
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" <doi:10.32614/R.manuals>. 'OpenCL' GPU execution follows the standard described in Stone, Gohara, and Shi (2010) <doi:10.1109/MCSE.2010.69>. The likelihood subgradient simulation methodology implemented by the illustrative GLM kernel subsystem is described in Nygren and Nygren (2006) <doi:10.1198/016214506000000357>.
How to cite:
Kjell Nygren (2026). nmathopencl: 'OpenCL'-Ported R 'Mathlib' for GPU-Accelerated Packages. R package version 0.8.3, https://cran.r-project.org/web/packages/nmathopencl. Accessed 25 Oct. 2026.
Previous versions and publish date:
(2026-07-16 02:00), 0.8.2 (2026-06-21 17:20)
Other packages that cited nmathopencl R package
View nmathopencl citation profile
Other R packages that nmathopencl depends, imports, suggests or enhances
Complete documentation for nmathopencl
Functions, R codes and Examples using the nmathopencl R package
Full nmathopencl package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

imputeTS  
Time Series Missing Value Imputation
Imputation (replacement) of missing values in univariate time series. Offers several imputation fu ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
CTT  
Classical Test Theory Functions
A collection of common test and item analyses from a classical test theory (CTT) framework. Analyses ...
Download / Learn more Package Citations See dependency  
RcmdrPlugin.aRnova  
R Commander Plug-in for Repeated-Measures ANOVA
R Commander plug-in for repeated-measures and mixed-design ('split-plot') ANOVA. It adds a new men ...
Download / Learn more Package Citations See dependency  
guardianapi  
Access 'The Guardian' Newspaper Open Data API
Access to 'The Guardian' newspaper's open API , containing ...
Download / Learn more Package Citations See dependency  
fstcore  
R Bindings to the 'Fstlib' Library
The 'fstlib' library provides multithreaded serialization of compressed data frames using the 'fst' ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,081

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA