mpfrVersion() returns the version of the MPFR library which
Rmpfr is currently linked to.
c(x,y,...) can be used to combine MPFR numbers in the
same way as regular numbers IFF the first argument
mpfrIs0(.) uses the MPFR library in the documented way to
check if (a vector of) MPFR numbers are zero. It was called
mpfr.is.0 which is strongly deprecated now.
.mpfr.is.whole(x) uses the MPFR library in the documented way to
check if (a vector of) MPFR numbers is integer valued. This is
x == round(x), but not at all to
You should typically rather use (the
"mpfr" method of the
The former name
mpfr.is.integer is deprecated now.
1 2 3 4 5 6 7
an object of class
mpfrIs0 returns a logical vector of length
TRUE iff the corresponding
x[i] is an MPFR
representation of zero (
is.whole return a
logical vector of length
mpfrVersion returns an object of S3 class
"numeric_version", so it can be used in comparisons.
The other functions return MPFR number (vectors), i.e., extending
1 2 3 4 5 6 7 8 9 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.