infinite-methods {Brobdingnag} | R Documentation |
Infinite brobs and glubs
Description
Brobdingnagian and Glubbdubdribian infinity
Usage
## 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)
Arguments
x |
vector of class brob or glub |
Details
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()
.
Author(s)
Robin K. S. Hankin
Examples
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 ;-)
[Package Brobdingnag version 1.2-9 Index]