NAG Library Routine Document
F08NWF (ZGEBAK) transforms eigenvectors of a balanced matrix to those of the original complex general matrix.
||N, ILO, IHI, M, LDV, INFO
The routine may be called by its
F08NWF (ZGEBAK) is intended to be used after a complex general matrix
has been balanced by F08NVF (ZGEBAL)
, and eigenvectors of the balanced matrix
have subsequently been computed.
For a description of balancing, see the document for F08NVF (ZGEBAL)
. The balanced matrix
is obtained as
is a permutation matrix and
is a diagonal scaling matrix. This routine transforms left or right eigenvectors as follows:
- if is a right eigenvector of , is a right eigenvector of ;
- if is a left eigenvector of , is a left eigenvector of .
- 1: JOB – CHARACTER(1)Input
: this must
be the same parameter JOB
as supplied to F08NVF (ZGEBAL)
, , or .
- 2: SIDE – CHARACTER(1)Input
: indicates whether left or right eigenvectors are to be transformed.
- The left eigenvectors are transformed.
- The right eigenvectors are transformed.
- 3: N – INTEGERInput
On entry: , the number of rows of the matrix of eigenvectors.
- 4: ILO – INTEGERInput
- 5: IHI – INTEGERInput
: the values
, as returned by F08NVF (ZGEBAL)
- if , ;
- if , and .
- 6: SCALE() – REAL (KIND=nag_wp) arrayInput
the dimension of the array SCALE
must be at least
: details of the permutations and/or the scaling factors used to balance the original complex general matrix, as returned by F08NVF (ZGEBAL)
- 7: M – INTEGERInput
On entry: , the number of columns of the matrix of eigenvectors.
- 8: V(LDV,) – COMPLEX (KIND=nag_wp) arrayInput/Output
the second dimension of the array V
must be at least
On entry: the matrix of left or right eigenvectors to be transformed.
On exit: the transformed eigenvectors.
- 9: LDV – INTEGERInput
: the first dimension of the array V
as declared in the (sub)program from which F08NWF (ZGEBAK) is called.
- 10: INFO – INTEGEROutput
unless the routine detects an error (see Section 6
6 Error Indicators and Warnings
If , argument had an illegal value. An explanatory message is output, and execution of the program is terminated.
The errors are negligible.
The total number of real floating point operations is approximately proportional to .
The real analogue of this routine is F08NJF (DGEBAK)
See Section 9
in F08NVF (ZGEBAL).