Description Usage Arguments Value Examples
A function for computing the square roots of a quadratic matrix using the Denman-Beavers algorithm. note that convergence is not guaranteed, even for matrices that do have square roots.
1 |
mat |
A numeric matrix where numbers need to be rescaled. |
maxit |
Number of iterations of the algorithm, by deafult set to 50. |
tolerance |
Tolerance for the convergence, by deafult set to NA. |
verbose |
Logical, set to TRUE if you used tolerance criterion and you wish to see the messages about convergence, by deafult set to FALSE. |
A list with square root and inverse square root of mat
.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.