cmvnorm (version 1.0-5)

setreal: 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 {
A <- matrix(c(1,0.1i,-0.1i,1),2,2)
Im(A) <- Im(A)*3
Re(A) <- matrix(c(5,2,2,5),2,2)


# }

Run the code above in your browser using DataLab