Learn R Programming

TensorTools (version 1.0.0)

polar: Polar/Jordan form of matrices P and D

Description

Converts the complex matrices P and D into matrices of eigenvectors and eigenvalues with real entries.

Usage

polar(P,D)

Value

P the polar form (real-valued) matrix of eigenvectors. D the polar form (real-valued) matrix of eigenvalues.

Arguments

P,

the eigenvectors from an eigenvalue decomposition.

D,

the eigenvalues from an eigenvalue decomposition.

Author

Kyle Caudle

Randy Hoover

Jackson Cates

Everett Sandbo

References

Bhatia, R. (2013). Matrix analysis (Vol. 169). Springer Science & Business Media.

Examples

Run this code
z <- complex(real = rnorm(16), imag = rnorm(16))
M <- matrix(z,nrow=4)
decomp <- eigen(M)
polar(decomp$vectors,decomp$values)

Run the code above in your browser using DataLab