Brobdingnag (version 1.2-6)

glub-class: Class "glub"

Description

Complex Brobdingnagian numbers

Arguments

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 component

imag:

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"): ...

See Also

brob-class,swift-class

Examples

Run this code
# NOT RUN {
a <- as.brob(45)
new("glub",real=a, imag=a)

as.brob(5+5i)   # standard colloquial R idiom

# }

Run the code above in your browser using DataLab