Nothing
### function to compute a symmetric square root of a matrix
### internal function
###
`mat.sqrt` <-
function(A)
{
eigen.A<-eigen(A)
sqrt.A<-eigen.A$vectors %*% tcrossprod(diag(eigen.A$values^0.5), eigen.A$vectors)
return(sqrt.A)
}
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.