Nothing
PolarDecomp<-function(A)
{
### A =U %*% P is the polar decomposition
### W S V
### A = E$u %*% diag(E$d)%*% t(E$v)
### U is orthogonal rotation matrix
### P is the stretch tensor
E = svd(A)
P = E$v%*% diag(E$d)%*% t(E$v)
U = E$u %*% t(E$v)
return(list(P=P, U=U))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.