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 14 Jul. 2026.
Previous versions and publish date:
No previous versions
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

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  
surveyCV  
Cross Validation Based on Survey Design
Functions to generate K-fold cross validation (CV) folds and CV test error estimates that take into ...
Download / Learn more Package Citations See dependency  
pps  
PPS Sampling
Functions to select samples using PPS (probability proportional to size) sampling. The package also ...
Download / Learn more Package Citations See dependency  
maGUI  
A Graphical User Interface for Microarray Data Analysis and Annotation
Provides a comprehensive graphical user interface for analysis of Affymetrix, Agilent, Illumina, Nim ...
Download / Learn more Package Citations See dependency  
AutoWeatherIndices  
Calculating Weather Indices
Weather indices are formed from weather variables in this package. The users can input any number of ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

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