powered by
Get or set real and imaginary components of brobs or glubs.
brob
glub
# S4 method for glub Re(z) # S4 method for glub Im(z) # S4 method for glub Mod(z) # S4 method for glub Conj(z) # S4 method for glub Arg(z) Re(z) <- value Im(z) <- value
Functions Re() and Im() return an object of class brob; functions Re<-() and Im<-() return an object of class glub
Re()
Im()
Re<-()
Im<-()
object of class glub (or, in the case of Im<-() or Im(z) <- value, class brob)
Im(z) <- value
object of class numeric or brob
numeric
Robin K. S. Hankin
a <- cbrob(1:10,brob(1e100)) Im(a) <- 11:1 a
Run the code above in your browser using DataLab