checkupdate.matrixroot | R Documentation |
This function is used to check whether the matrix square
root is correct. This is done by checking whether the Frobenius
norm is smaller than the tolerance level, i.e., when A
is the
give matrix, B
is the matrix square root obtained from the
given sqrtm.method
function, and \epsilon
is the
tolerance level, the FSST test checks whether
||A - BB||_F < \epsilon
. If this does not hold, the FSST test will
use the sqrtm
function from the expm
package
to obtain the matrix square root.
checkupdate.matrixroot(mat, mat.name, sqrtm.method, sqrtm.tol)
mat |
The matrix that we wish to obtain the matrix square root. |
mat.name |
The name of the matrix for |
sqrtm.method |
The method used to obtain the matrix square root in
the |
sqrtm.tol |
The absolute tolerance used to check whether the matrix
square root is correct. This is done by checking whether the Frobenius
norm is smaller than the tolerance level, i.e., when |
Returns the matrix square root.
mat.sqrt |
The matrix square root. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.