Math | R Documentation |
Various elementary functions for brobs
x |
Object of class |
base |
In function |
For brob
s: apart from abs()
, log()
, exp()
,
sinh()
and cosh()
, these functions return
f(as.numeric(x))
so are numeric; the exceptional functions
return brob
s.
For glub
s: mostly direct transliteration of the appropriate
formula; one might note that log(z)
is defined as
glub(log(Mod(x)),Arg(x))
.
Robin K. S. Hankin
exp(as.brob(3000)) #exp(3000) is represented with zero error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.