powered by
Manipulate real or imaginary components of an object
Im(x) <- value Re(x) <- value
Complex-valued object
Real-valued object
Robin K. S. Hankin
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