polarDecomposition: polar decomposition with reflection control

View source: R/patchMatch.R

polarDecompositionR Documentation

polar decomposition with reflection control

Description

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

Usage

polarDecomposition(X)

Arguments

X

matrix

Value

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

Author(s)

Avants BB

Examples


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


stnava/patchMatchR documentation built on March 23, 2022, 6:47 a.m.