nag_zgebak (f08nwc) transforms eigenvectors of a balanced matrix to those of the original complex general matrix.
nag_zgebak (f08nwc) is intended to be used after a complex general matrix
has been balanced by
nag_zgebal (f08nvc), and eigenvectors of the balanced matrix
have subsequently been computed.
For a description of balancing, see the document for
nag_zgebal (f08nvc). The balanced matrix
is obtained as
, where
is a permutation matrix and
is a diagonal scaling matrix. This function 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 .
None.
- NE_ALLOC_FAIL
-
Dynamic memory allocation failed.
See
Section 3.2.1.2 in the Essential Introduction for further information.
- NE_BAD_PARAM
-
On entry, argument had an illegal value.
- NE_INT
-
On entry, .
Constraint: .
On entry, .
Constraint: .
On entry, .
Constraint: .
- NE_INT_2
-
On entry, and .
Constraint: .
On entry, and .
Constraint: .
- NE_INT_3
-
On entry, , and .
Constraint: if , ;
if , and .
- NE_INTERNAL_ERROR
-
An internal error has occurred in this function. Check the function call and any array sizes. If the call is correct then please contact
NAG for assistance.
An unexpected error has been triggered by this function. Please contact
NAG.
See
Section 3.6.6 in the Essential Introduction for further information.
- NE_NO_LICENCE
-
Your licence key may have expired or may not have been installed correctly.
See
Section 3.6.5 in the Essential Introduction for further information.
The errors are negligible.
nag_zgebak (f08nwc) is not threaded by NAG in any implementation.
nag_zgebak (f08nwc) 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 function. 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 function is
nag_dgebak (f08njc).