14
edits
Line 158: | Line 158: | ||
* The Matlab documentation does not mention whether there is balancing in the generalised case, but if needed the *ggevx could be used same. | * The Matlab documentation does not mention whether there is balancing in the generalised case, but if needed the *ggevx could be used same. | ||
** '''EDIT:''' In Matlab there is no balance option in the generalised case: | |||
* IN: | |||
{{Code|Matlab's eig|<syntaxhighlight lang="matlab"> | |||
A = [1, 2 ; 3, 4] | |||
B = [5, 6 ; 7, 8] | |||
e = eig(A, B, 'nobalance') | |||
</syntaxhighlight>}} | |||
* OUT: | |||
Error using eig | |||
For generalized eigenproblem EIG(A,B), flag must be 'vector', 'matrix', 'qz', or 'chol'. | |||
==== Computing left eigenvectors as a third output ==== | ==== Computing left eigenvectors as a third output ==== |
edits