Complex {Brobdingnag}R Documentation

Real and imaginary manipulation

Description

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

Usage

## S4 method for signature 'glub':
Re(x)
## S4 method for signature 'glub':
Im(x)
## S4 method for signature 'glub':
Mod(x)
## S4 method for signature 'glub':
Conj(x)
## S4 method for signature 'glub':
Arg(x)
Re(x) <- value
Im(x) <- value

Arguments

x object of class glub
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

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


[Package Brobdingnag version 1.0-4 Index]