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.2")



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.2, https://cran.r-project.org/web/packages/nmathopencl. Accessed 26 Aug. 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

SelvarMix  
Regularization for Variable Selection in Model-Based Clustering and Discriminant Analysis
Performs a regularization approach to variable selection in themodel-based clustering and classifica ...
Download / Learn more Package Citations See dependency  
ncodeR  
Techniques for Automated Classifiers
A set of techniques that can be used to develop, validate, and implement automated classifiers. A po ...
Download / Learn more Package Citations See dependency  
RCytoGPS  
Using Cytogenetics Data in R
Defines classes and methods to process text-based cytogenetics using the CytoGPS web site, then imp ...
Download / Learn more Package Citations See dependency  
clinUtils  
General Utility Functions for Analysis of Clinical Data
Utility functions to facilitate the import, the reporting and analysis of clinical data. Example ...
Download / Learn more Package Citations See dependency  
PCADSC  
Tools for Principal Component Analysis-Based Data Structure Comparisons
A suite of non-parametric, visual tools for assessing differences in data structures for two datase ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

28,332

R Packages

239,283

Dependencies

75,113

Author Associations

28,333

Publication Badges

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