Manipulate real or imaginary components of an object

Description

Manipulate real or imaginary components of an object

Usage

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

Arguments

x

Complex-valued object

value

Real-valued object

Author(s)

Robin K. S. Hankin

Examples

1
2
3
4
5
x <- 1:10
Im(x) <- 1

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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.