decomposes X into P and Z (matrices) where Z is a rotation and P is shearing. will prevent Z from containing reflections.

polarDecomposition(X)

Arguments

X

matrix

Value

decomposition into P Z and approximation of X by P %*% Z

Author

Avants BB

Examples

pd = polarDecomposition( matrix( rnorm(9), nrow=3 ) )