infinite-methods | R Documentation |
Brobdingnagian and Glubbdubdribian infinity
## S4 method for signature 'brob'
is.infinite(x)
## S4 method for signature 'glub'
is.infinite(x)
## S4 method for signature 'brob'
is.finite(x)
## S4 method for signature 'glub'
is.finite(x)
x |
vector of class brob or glub |
For a Brobdingnagian number, is.infinite()
returns TRUE
if
the exponent is infinite.
A Glubbdubdribian number is infinite if either the real or imaginary component is infinite.
Function is.finite()
is simply the logical negation of
is.infinite()
.
Robin K. S. Hankin
is.infinite(brob(c(1,4,Inf)))
is.infinite(glub(3,Inf))
is.infinite(glub(Inf,3))
is.infinite(exp(1e300))
is.infinite(brob(1e300))
# (Brobdingnagian infinity is bigger than regular infinity ;-)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.