elliptic (version 1.4-0)

misc: Manipulate real or imaginary components of an object

Description

Manipulate real or imaginary components of an object

Usage

Im(x) <- value
Re(x) <- value

Arguments

x

Complex-valued object

value

Real-valued object

Examples

Run this code
# NOT RUN {
x <- 1:10
Im(x) <- 1

x <- 1:5
Im(x) <- 1/x


# }

Run the code above in your browser using DataLab