Complex: Real and imaginary manipulation

Description Usage Arguments Value Author(s) Examples

Description

Get or set real and imaginary components of brobs or glubs.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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 glub (or, in the case of Im<-() or Im(z) <- value, class brob)

value

object of class numeric or brob

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

1
2
3
a <- cbrob(1:10,brob(1e100))
Im(a) <- 11:1
a

Brobdingnag documentation built on May 2, 2019, 8:46 a.m.