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.
- 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.
The errors are negligible.
The total number of real floating point operations is approximately proportional to .
The real analogue of this function is
nag_dgebak (f08njc).