Package: Rmpfr 1.1-2

Martin Maechler

Rmpfr: Interface R to MPFR - Multiple Precision Floating-Point Reliable

Arithmetic (via S4 classes and methods) for arbitrary precision floating point numbers, including transcendental ("special") functions. To this end, the package interfaces to the 'LGPL' licensed 'MPFR' (Multiple Precision Floating-Point Reliable) Library which itself is based on the 'GMP' (GNU Multiple Precision) Library.

Authors:Martin Maechler [aut, cre], Richard M. Heiberger [ctb], John C. Nash [ctb], Hans W. Borchers [ctb], Mikael Jagan [ctb]

Rmpfr_1.1-2.tar.gz
Rmpfr_1.1-2.zip(r-4.7)Rmpfr_1.1-2.zip(r-4.6)Rmpfr_1.1-2.zip(r-4.5)
Rmpfr_1.1-2.tgz(r-4.6-x86_64)Rmpfr_1.1-2.tgz(r-4.6-arm64)Rmpfr_1.1-2.tgz(r-4.5-x86_64)Rmpfr_1.1-2.tgz(r-4.5-arm64)
Rmpfr_1.1-2.tar.gz(r-4.7-arm64)Rmpfr_1.1-2.tar.gz(r-4.7-x86_64)Rmpfr_1.1-2.tar.gz(r-4.6-arm64)Rmpfr_1.1-2.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
Rmpfr/json (API)

# Install 'Rmpfr' in R:
install.packages('Rmpfr', repos = c('https://r-forge.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://r-forge.r-project.org/projects/rmpfr

Uses libs:
  • mpfr4– Multiple precision floating-point computation
  • gmp– Multiprecision arithmetic library

On CRAN:

Conda:

mpfr4gmp

10.94 score 88 packages 640 scripts 29k downloads 4 mentions 132 exports 1 dependencies

Last updated from:3a570462b3. Checks:12 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK327
linux-devel-x86_64OK247
source / vignettesOK299
linux-release-arm64OK203
linux-release-x86_64OK196
macos-release-arm64OK140
macos-release-x86_64OK406
macos-oldrel-arm64OK142
macos-oldrel-x86_64OK389
windows-develOK172
windows-releaseOK178
windows-oldrelOK197
wasm-releaseFAIL245

Exports:..bigq2mpfr..bigz2mpfr.bigq2mpfr.bigz2mpfr.getPrec.getSign.mpfr.mpfr_erange.mpfr_erange_is_int.mpfr_erange_kinds.mpfr_erange_set.mpfr_formatinfo.mpfr_gmp_numbbits.mpfr_maxPrec.mpfr_minPrec.mpfr_negative.mpfr_sign.mpfr..mpfr.is.whole.mpfr2bigq.mpfr2bigz.mpfr2d.mpfr2exp.mpfr2i.mpfr2list.mpfr2str.mpfrSizeof.mpfrVersionAiall.equalapermapplyArithasNumericatan2BernoullibetacbindchooseMpfrchooseMpfr.allcoercecoerce<-colMeanscolSumsCompareConstdbinomdchisqdgammadiagdiag<-dnbinomdnormdpoisdtEierferfcfactorialfactorialMpfrformatformatBinformatDecformatHexformatMpfrfrexpMpfrgetDgetPrecheadhjkMpfrhypotigammaintegrateRis.mpfrj0j1jnlbetaldexpMpfrLi2log1mexplog1pexpLogicMathMath2matmultmeanmedianmpfrmpfr_default_precmpfr.is.0mpfr.is.integermpfr2arraympfrArraympfrImportmpfrIs0mpfrVersionmpfrXportnormnum2bigqOpsoptimizeRouterpbetaIpgammapmaxpminpnormpochMpfrqnormIquantilerbindroundMpfrrowMeansrowSumssapplyMpfrseqMpfrshowsumBinomMpfrsummarySummaryttailtoNumuniqueunirootRwhich.maxwhich.miny0y1ynzeta

Dependencies:gmp

Arbitrarily Accurate Computation with R Package Rmpfr
Introduction | Arithmetic with mpfr-numbers | ``All'' mathematical functions, arbitrarily precise | Arbitrarily precise matrices and arrays | Special mathematical functions | Integration highly precisely | Miscellaneous | Conclusion

Last update: 2023-01-15
Started: 2012-12-03

Accurately Computing log(1 - exp(.)) -- Assessed by Rmpfr
Introduction: Not log() nor exp(), but log1p() and expm1() | log1p() and expm1() for log(1 - exp(x)) | Computation of log(1+exp(x)) | Conclusion

Last update: 2023-01-05
Started: 2012-12-03

useR-2011-abstract

Last update: 2013-07-25
Started: 2013-07-25

Readme and manuals

Help Manual

Help pageTopics
R MPFR - Multiple Precision Floating-Point ReliableRmpfr-package Rmpfr
Auxiliary Class "array_or_vector"array_or_vector-class
Methods for 'asNumeric(<mpfr>)'asNumeric,mpfr-method asNumeric,mpfrArray-method asNumeric-methods
Virtual Class "atomicVector" of Atomic VectorsatomicVector-class
Bernoulli Numbers in Arbitrary PrecisionBernoulli
Bessel functions of Integer Order in multiple precisionsAi Bessel_mpfr j0 j1 jn y0 y1 yn
"mpfr" '...' - Methods for Functions cbind(), rbind()cbind cbind,ANY-method cbind,Mnumber-method cbind-methods rbind rbind,ANY-method rbind,Mnumber-method rbind-methods
Binomial Coefficients and Pochhammer Symbol aka Rising FactorialchooseMpfr chooseMpfr.all pochMpfr
Factorial 'n!' in Arbitrary PrecisionfactorialMpfr
Flexibly Format Numbers in Binary, Hex and Decimal FormatformatBin formatDec formatHex print.Ncharacter
Formatting and Printing MPFR (multiprecision) Numbers.mpfr2str formatMpfr formatN.mpfr print.mpfr print.mpfrArray
Base-2 Representation and Multiplication of Mpfr NumbersfrexpMpfr ldexpMpfr
Conversion Utilities gmp <-> Rmpfr.bigq2mpfr .bigz2mpfr .mpfr2bigq .mpfr2bigz coerce,bigq,mpfr-method coerce,bigz,mpfr-method
Hooke-Jeeves Derivative-Free Minimization R (working for MPFR)hjkMpfr
Incomplete Gamma Functionigamma
One-Dimensional Numerical Integration - in pure RintegrateR print.integrateR show,integrateR-method
Whole ("Integer") Numbersis.whole.mpfr
Compute f(a) = log(1 +/- exp(-a)) Numerically Optimallylog1mexp log1pexp
(MPFR) Matrix (Vector) Multiplication.matmult.R matmult
Class "Mnumber" and "mNumber" of "mpfr" and regular numbers and arrays from themMnumber-class mNumber-class numericVector-class
Create "mpfr" Numbers (Objects)Const is.mpfr mpfr mpfr.default mpfr.mpfr
Class "mpfr" of Multiple Precision Floating Point Numbers%*%,array_or_vector,mpfr-method %*%,mpfr,array_or_vector-method abs,mpfr-method all.equal,ANY,mpfr-method all.equal,mpfr,ANY-method all.equal,mpfr,mpfr-method Arg,mpfr-method Arith,array,mpfr-method Arith,integer,mpfr-method Arith,mpfr,array-method Arith,mpfr,integer-method Arith,mpfr,missing-method Arith,mpfr,mpfr-method Arith,mpfr,numeric-method Arith,numeric,mpfr-method as.integer,mpfr-method as.numeric,mpfr-method as.vector,mpfrArray-method atan2,ANY,mpfr-method atan2,ANY,mpfrArray-method atan2,mpfr,ANY-method atan2,mpfr,mpfr-method atan2,mpfr,numeric-method atan2,mpfrArray,ANY-method atan2,mpfrArray,mpfrArray-method atan2,numeric,mpfr-method beta,ANY,mpfr-method beta,ANY,mpfrArray-method beta,mpfr,ANY-method beta,mpfr,mpfr-method beta,mpfr,numeric-method beta,mpfrArray,ANY-method beta,mpfrArray,mpfrArray-method beta,numeric,mpfr-method coerce,array,mpfr-method coerce,character,mpfr-method coerce,integer,mpfr-method coerce,logical,mpfr-method coerce,mpfr,bigz-method coerce,mpfr,character-method coerce,mpfr,integer-method coerce,mpfr,mpfr1-method coerce,mpfr,numeric-method coerce,mpfr1,mpfr-method coerce,mpfr1,numeric-method coerce,numeric,mpfr-method coerce,numeric,mpfr1-method coerce,raw,mpfr-method Compare,array,mpfr-method Compare,integer,mpfr-method Compare,mpfr,array-method Compare,mpfr,integer-method Compare,mpfr,mpfr-method Compare,mpfr,numeric-method Compare,numeric,mpfr-method Conj,mpfr-method crossprod,array_or_vector,mpfr-method crossprod,mpfr,array_or_vector-method dim<-,mpfr-method factorial,mpfr-method format,mpfr-method hypot Im,mpfr-method is.finite,mpfr-method is.finite,mpfrArray-method is.infinite,mpfr-method is.infinite,mpfrArray-method is.na,mpfr-method is.na,mpfrArray-method is.nan,mpfr-method is.nan,mpfrArray-method lbeta,ANY,mpfr-method lbeta,ANY,mpfrArray-method lbeta,mpfr,ANY-method lbeta,mpfr,mpfr-method lbeta,mpfr,numeric-method lbeta,mpfrArray,ANY-method lbeta,mpfrArray,mpfrArray-method lbeta,numeric,mpfr-method log,mpfr-method Logic,mpfr,mpfr-method Logic,mpfr,numeric-method Logic,numeric,mpfr-method Math,mpfr-method Math2,mpfr-method mean,mpfr-method median,mpfr-method Mod,mpfr-method mpfr-class mpfr1-class Ops,ANY,mpfr-method Ops,array,mpfr-method Ops,bigq,mpfr-method Ops,bigz,mpfr-method Ops,mpfr,ANY-method Ops,mpfr,array-method Ops,mpfr,bigq-method Ops,mpfr,bigz-method Ops,mpfr,vector-method Ops,vector,mpfr-method print.mpfr1 print.summaryMpfr quantile,mpfr-method Re,mpfr-method show,mpfr-method show,mpfr1-method show,summaryMpfr-method sign,mpfr-method Summary,mpfr-method summary,mpfr-method summaryMpfr-class t,mpfr-method tcrossprod,array_or_vector,mpfr-method tcrossprod,mpfr,array_or_vector-method unique,mpfr,ANY-method unique,mpfr-method unique.mpfr which.max,mpfr-method which.min,mpfr-method [,mpfr,ANY,missing,missing-method [<-,mpfr,ANY,missing,ANY-method [<-,mpfr,ANY,missing,mpfr-method [<-,mpfr,missing,missing,ANY-method [[,mpfr-method
Distribution Functions with MPFR Arithmeticdbinom dchisq dgamma dnbinom dnorm dpois dt mpfr-distr pgamma pnorm
Special Mathematical Functions (MPFR)Ei erf erfc Li2 zeta
Rmpfr - Utilities for Precision Setting, etc..bigq2mpfr ..bigz2mpfr .getPrec .getSign .mpfr .mpfr. .mpfr2d .mpfr2exp .mpfr2i .mpfr2list .mpfrSizeof .mpfrVersion .mpfr_erange .mpfr_erange_is_int .mpfr_erange_kinds .mpfr_erange_set .mpfr_formatinfo .mpfr_gmp_numbbits .mpfr_maxPrec .mpfr_minPrec .mpfr_negative .mpfr_sign getD getPrec mpfr2array mpfrImport mpfrXport mpfr_default_prec toNum
MPFR Number Utilities.mpfr.is.whole c.mpfr diff.mpfr mpfr.is.0 mpfr.is.integer mpfrIs0 mpfrVersion
Construct "mpfrArray" almost as by 'array()'mpfrArray
Classes "mpfrMatrix" and "mpfrArray"%*%,Mnumber,mpfr-method %*%,mpfr,Mnumber-method %*%,mpfr,mpfr-method %*%,mpfr,mpfrMatrix-method %*%,mpfrMatrix,mpfr-method %*%,mpfrMatrix,mpfrMatrix-method aperm,mpfrArray-method apply,mpfrArray-method Arith,mpfr,mpfrArray-method Arith,mpfrArray,mpfr-method Arith,mpfrArray,mpfrArray-method Arith,mpfrArray,numeric-method Arith,numeric,mpfrArray-method as.vector,mpfrArray,missing-method coerce,array,mpfrArray-method coerce,matrix,mpfrMatrix-method coerce,mpfrArray,array-method coerce,mpfrArray,matrix-method coerce,mpfrArray,vector-method coerce,mpfrMatrix,matrix-method coerce<-,mpfrArray,vector-method colMeans,mpfrArray-method colSums,mpfrArray-method Compare,mpfr,mpfrArray-method Compare,mpfrArray,mpfr-method Compare,mpfrArray,numeric-method Compare,numeric,mpfrArray-method crossprod,Mnumber,mpfr-method crossprod,mpfr,missing-method crossprod,mpfr,Mnumber-method crossprod,mpfr,mpfr-method crossprod,mpfr,mpfrMatrix-method crossprod,mpfrMatrix,mpfr-method crossprod,mpfrMatrix,mpfrMatrix-method diag,mpfrMatrix-method diag<-,mpfrMatrix-method dim,mpfrArray-method dimnames,mpfrArray-method dimnames<-,mpfrArray-method mpfrArray-class mpfrMatrix-class norm,ANY,missing-method norm,mpfrMatrix,character-method rowMeans,mpfrArray-method rowSums,mpfrArray-method show,mpfrArray-method sign,mpfrArray-method t,mpfrMatrix-method tcrossprod,Mnumber,mpfr-method tcrossprod,mpfr,missing-method tcrossprod,mpfr,Mnumber-method tcrossprod,mpfr,mpfr-method tcrossprod,mpfr,mpfrMatrix-method tcrossprod,mpfrMatrix,mpfr-method tcrossprod,mpfrMatrix,mpfrMatrix-method [,mpfrArray,ANY,ANY,ANY-method [,mpfrArray,ANY,missing,missing-method [,mpfrArray,matrix,missing,missing-method [<-,mpfrArray,ANY,ANY,ANY-method [<-,mpfrArray,ANY,ANY,mpfr-method [<-,mpfrArray,ANY,missing,ANY-method [<-,mpfrArray,ANY,missing,mpfr-method [<-,mpfrArray,matrix,missing,ANY-method [<-,mpfrArray,matrix,missing,mpfr-method [<-,mpfrArray,missing,ANY,ANY-method [<-,mpfrArray,missing,ANY,mpfr-method [<-,mpfrArray,missing,missing,ANY-method [<-,mpfrArray,missing,missing,mpfr-method
Functions for mpfrMatrix Objectsdeterminant.mpfrMatrix
BigQ / BigRational Approximation of Numbersnum2bigq
High Precision One-Dimensional OptimizationoptimizeR
Accurate Incomplete Beta / Beta Probabilities For Integer ShapespbetaI
Parallel Maxima and Minimapmax pmax,ANY-method pmax,mNumber-method pmax-methods pmin pmin,ANY-method pmin,mNumber-method pmin-methods
Gaussian / Normal Quantiles 'qnorm()' via InversionqnormI
Base Functions etc, as an Rmpfr versionouter
Rounding to Binary bits, "mpfr-internally"roundMpfr setPrec
Apply a Function over a "mpfr" VectorsapplyMpfr
"mpfr" Sequence GenerationseqMpfr
Compactly Show STRucture of Rmpfr Number Objectstr.mpfr
(Alternating) Binomial Sums via RmpfrsumBinomMpfr
One Dimensional Root (Zero) Finding - in pure RunirootR