glub-class | R Documentation |
Complex Brobdingnagian numbers
A glub
object holds two slots, both brobs
, representing
the real and imaginary components of a complex vector.
real
:Object of class "brob"
representing the
real component
imag
:Object of class "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
brob-class
,swift-class
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.