glub-class {Brobdingnag} | R Documentation |
Class "glub"
Description
Complex Brobdingnagian numbers
Objects from the Class
A glub
object holds two slots, both brobs
, representing
the real and imaginary components of a complex vector.
Slots
real
:Object of class
"brob"
representing the real componentimag
:Object of class
"brob"
representing the imaginary component
Extends
Class "swift"
, directly.
Methods
- .cPair
signature(x = "brob", y = "glub")
: ...- .cPair
signature(x = "ANY", y = "glub")
: ...- .cPair
signature(x = "glub", y = "glub")
: ...- .cPair
signature(x = "glub", y = "ANY")
: ...- .cPair
signature(x = "glub", y = "brob")
: ...- Im<-
signature(x = "glub")
: ...- Re<-
signature(x = "glub")
: ...
Author(s)
Robin K. S. Hankin
See Also
Examples
a <- as.brob(45)
new("glub",real=a, imag=a)
as.brob(5+5i) # standard R idiom; imaginary component discarded
as.glub(5+5i) # returns a Glubbdubdribian object
[Package Brobdingnag version 1.2-9 Index]