Description Usage Arguments Details Value Author(s) Examples
This function computes negative half power of a square matrix x based on eigenvectors and eigenvalues.
1 | Nhalf_power(x)
|
x |
matrix |
The Negative Half Matrix power is computed by eigenvectors and eigenvalues. X^(-1/2) = UΛ^(-1/2)U* where X is a hermitian matrix, 𝑈 is a unitary matrix with columns the eigenvectors of matrix X, 𝑈∗ is the conjugate transpose of matrix 𝑈 and Λ is a diagonal matrix with entries the eigenvalues of matrix X. If the negative half power of input matrix does not exist, the result matrix might have NaN.
x^(-1/2)
Xiulin Xie
1 | Nhalf_power(matrix(c(1, 0.4, 0.4, 1), nrow = 2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.