Complex {Brobdingnag} | R Documentation |
Get or set real and imaginary components of brob
s or
glub
s.
## S4 method for signature 'glub': Re(z) ## S4 method for signature 'glub': Im(z) ## S4 method for signature 'glub': Mod(z) ## S4 method for signature 'glub': Conj(z) ## S4 method for signature 'glub': Arg(z) Re(z) <- value Im(z) <- value
z |
object of class glub (or, in the case of
Im<-() or Im(z) <- value , class brob ) |
value |
object of class numeric or brob |
Functions Re()
and Im()
return an object of class
brob
; functions Re<-()
and Im<-()
return an object
of class glub
Robin K. S. Hankin
a <- cbrob(1:10,brob(1e100)) Im(a) <- 11:1 a