Auxiliary Class "array\_or\_vector"
Methods for function asNumeric
(in package gmp).
1 2  ## S4 method for signature 'mpfrArray'
asNumeric(x)

x 
a “numberlike” object, here, a

an R object of type (typeof
) "numeric"
, a matrix
or array
if x
had nonNULL dimension dim()
.
signature(x = "mpfrArray")
this method also dispatches
for mpfrMatrix
and returns a numeric array.
signature(x = "mpfr")
for nonarray/matrix,
asNumeric(x)
is basically the same as as.numeric(x)
.
Martin Maechler
our lower level (nongeneric) toNum()
. Further,
asNumeric
(package gmp),
standard R's as.numeric()
.
1 2 3 4 5 6 7 8 9 10 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.