Learn R Programming

Rmpfr (version 0.4-2)

Mnumber-class: Class "Mnumber" of "mpfr" and regular numbers and arrays from them

Description

Class "Mnumber" is a class union of "mpfr" and regular numbers and arrays from them. Its purpose is for method dispatch, notably defining a cbind(...) method where ... contains objects of one of the member classes of "Mnumber".

Arguments

See Also

the array_or_vector sub class; cbind-methods.

Examples

Run this code
## "Mnumber" encompasses (i.e., "extends") quite a few
##  "vector / array - like" classes:
showClass("Mnumber")
stopifnot(extends("mpfrMatrix", "Mnumber"),
          extends("array",      "Mnumber"))

Run the code above in your browser using DataLab