polar: Polar/Jordan form of matrices P and D

View source: R/polar.R

polarR Documentation

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)

Arguments

P

the eigenvectors from an eigenvalue decomposition.

D

the eigenvalues from an eigenvalue decomposition.

Value

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

Author(s)

Kyle Caudle

Randy Hoover

Jackson Cates

Everett Sandbo

References

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

Examples

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

TensorTools documentation built on Oct. 18, 2024, 1:07 a.m.