Complex {Brobdingnag} | R Documentation |
Real and imaginary manipulation
Description
Get or set real and imaginary components of brob
s or
glub
s.
Usage
## 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
Arguments
z |
object of class |
value |
object of class |
Value
Functions Re()
and Im()
return an object of class
brob
; functions Re<-()
and Im<-()
return an object
of class glub
Author(s)
Robin K. S. Hankin
Examples
a <- cbrob(1:10,brob(1e100))
Im(a) <- 11:1
a
[Package Brobdingnag version 1.2-9 Index]