setreal: Manipulate real or imaginary components of an object

Description Usage Arguments Author(s) Examples

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
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)

cmvnorm documentation built on Aug. 16, 2018, 9:05 a.m.