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: – CHARACTER(1)Input
: this must
be the same argument JOB
as supplied to F08NVF (ZGEBAL)
, , or .
- 2: – CHARACTER(1)Input
: indicates whether left or right eigenvectors are to be transformed.
- The left eigenvectors are transformed.
- The right eigenvectors are transformed.
- 3: – INTEGERInput
On entry: , the number of rows of the matrix of eigenvectors.
- 4: – INTEGERInput
- 5: – INTEGERInput
: the values
, as returned by F08NVF (ZGEBAL)
- if , ;
- if , and .
- 6: – 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: – INTEGERInput
On entry: , the number of columns of the matrix of eigenvectors.
- 8: – 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: – INTEGERInput
: the first dimension of the array V
as declared in the (sub)program from which F08NWF (ZGEBAK) is called.
- 10: – 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.
8 Parallelism and Performance
F08NWF (ZGEBAK) makes calls to BLAS and/or LAPACK routines, which may be threaded within the vendor library used by this implementation. Consult the documentation for the vendor library for further information.
Please consult the X06 Chapter Introduction
for information on how to control and interrogate the OpenMP environment used within this routine. Please also consult the Users' Note
for your implementation for any additional implementation-specific information.
The total number of real floating-point operations is approximately proportional to .
The real analogue of this routine is F08NJF (DGEBAK)
See Section 10
in F08NVF (ZGEBAL).