Multi Precision Computing

Provides new data-structure support for multi-precision computing for R users. The package supports 16-bit, 32-bit, and 64-bit operations. To the best of our knowledge, 'MPCR' differs from the currently available packages in the following: 'MPCR' introduces a new data structure that supports three different precisions (16-bit, 32-bit, and 64-bit), allowing for optimized memory allocation based on the desired precision. This feature offers significant advantages in memory optimization. 'MPCR' extends support to all basic linear algebra methods across different precisions. Optional GPU acceleration via CUDA is available for 32-bit and 64-bit operations when CUDA Toolkit is detected during installation, while 16-bit operations are GPU-only and limited to matrix-matrix multiplication. 'MPCR' maintains a consistent interface with normal R functions, allowing for seamless code integration and a user-friendly experience.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("MPCR")

2.1.2 by Sameh Abdulah, a month ago


https://github.com/stsds/MPCR


Browse source code at https://github.com/cran/MPCR


Authors: David Helmy [aut, cph] , Sameh Abdulah [cre, cph] , KAUST King Abdullah University of Science and Technology [fnd, cph] , Brightskies [cph]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports methods, Rcpp

Suggests R.rsp

System requirements: C++17, CMake (>= 3.20), BLAS, LAPACK (including single-precision complex routines), optional CUDA (>= 11.2)


See at CRAN