glub-class {Brobdingnag} | R Documentation |
Complex Brobdingnagian numbers
A glub
object holds two slots, both brobs
, representing
the real and imaginary components of a complex vector.
real
:"brob"
representing the
real componentimag
:"brob"
representing the
imaginary component
Class "swift"
, directly.
signature(x = "brob", y = "glub")
: ... signature(x = "ANY", y = "glub")
: ... signature(x = "glub", y = "glub")
: ... signature(x = "glub", y = "ANY")
: ... signature(x = "glub", y = "brob")
: ... signature(x = "glub")
: ... signature(x = "glub")
: ... Robin K. S. Hankin
a <- as.brob(45) new("glub",real=a, imag=a) as.brob(5+5i) # standard colloquial R idiom