Description Usage Arguments Value Note Author(s) References Examples
Computes for a pair of N-by-N real nonsymmetric matrices (A,B) the generalized eigenvalues, and optionally, the left and/or right generalized eigenvectors.
1 |
A |
NxN nonsymmetric matrix. |
B |
NxN nonsymmetric matrix. |
JOBVL |
Logical. Compute the left generalized eigenvectors? |
JOBVR |
Logical. Compute the right generalized eigenvectors? |
List of input/output parameters of dggev as well as a calculation of the eigenvalues (GENEIGENVALUES) (see caveats).
Please see this thread for a discussion about this function: http://tolstoy.newcastle.edu.au/R/e17/help/12/04/10951.html
Jonathan A. Greenberg
http://www.netlib.org/lapack/double/dggev.f
1 2 3 4 5 6 7 8 9 10 11 | A <- matrix(c(1457.738, 1053.181, 1256.953,
1053.181, 1213.728, 1302.838,
1256.953, 1302.838, 1428.269), nrow=3, byrow=TRUE)
B <- matrix(c(4806.033, 1767.480, 2622.744,
1767.480, 3353.603, 3259.680,
2622.744, 3259.680, 3476.790), nrow=3, byrow=TRUE)
rdggev_out <- Rdggev(A,B,JOBVL=FALSE,JOBVR=TRUE)
print("Generalized eigenvalues:")
rdggev_out$GENEIGENVALUES
print("Right eigenvectors:")
rdggev_out$VR
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.