Description Usage Arguments Value Note Author(s) Examples

Compute the square root of a matrix

1 | ```
matrix.sqrt(A)
``` |

`A` |
a symmetric semi-definite positive matrix |

A symmetric matrix, say B, such as B^t*B=A

For internal use.

Clecio Ferreira, Diego Gallardo and Camila Zeller.

1 2 3 4 5 | ```
A<-matrix(c(1,2,2,5),nrow=2)
B<-matrix.sqrt(A)
##Recovering A
t(B)%*%B
A
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.