Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/IdentAnalysis.R
This function computes the Jordan canonical form of a a real-valued matrix A over the field of real numbers.
1 | JordanReal(A,tol=1e-6)
|
A |
A |
tol |
The numerical tolerance level. Due to inevitable
limitations of numerical computations, it is possible that all
eigenvalues computed by |
this is a convenient function that computes the Jordan canonical form (JCF) of a real-valued matrix A over the field of real numbers. Please note that this function is not numerically stable for all matrices (esp. large matrices). It assumes that there is no nilpotent cells in the J.C.F. Returned values: K1 is the number of real eigenvalues; K2 is the number of pairs of complex eigenvalues. J is the pxp semi-diagonal matrix of Jordan blocks; Qmat is the matrix of generalized eigenvectors. Note that J is always organized in such way: the first K1 diagonal elements are real eigenvalues; the rest are 2x2 rotational matrices correspond with pairs of complex eigenvalues.
J |
The block-diagonal matrix that represents real (1x1 blocks) and complex eigenvalues (2x2 blocks) of A. |
Qmat |
The matrix of eigenvectors and semi-eigenvectors (for complex eigenvalues). |
Qinv |
The inverse of |
K1 |
Number of real eigenvalues. |
K2 |
Number of pairs of complex eigenvalues. So |
Xing Qiu
https://en.wikipedia.org/wiki/Jordan_normal_form
1 2 3 4 5 | A1 <- matrix(c(0, 1, -1,
2, 0, 0,
3, 1, 0), 3, byrow=TRUE)
jcf1 <- JordanReal(A1)
jcf1
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.