NAG Library Routine Document
f08njf (dgebak) transforms eigenvectors of a balanced matrix to those of the original real nonsymmetric matrix.
|Integer, Intent (In)||:: ||n, ilo, ihi, m, ldv|
|Integer, Intent (Out)||:: ||info|
|Real (Kind=nag_wp), Intent (In)||:: ||scale(*)|
|Real (Kind=nag_wp), Intent (Inout)||:: ||v(ldv,*)|
|Character (1), Intent (In)||:: ||job, side|C Header Interface
f08njf_ (const char *job, const char *side, const Integer *n, const Integer *ilo, const Integer *ihi, const double scal, const Integer *m, double v, const Integer *ldv, Integer *info, const Charlen length_job, const Charlen length_side)|
The routine may be called by its
is intended to be used after a real nonsymmetric matrix
has been balanced by f08nhf (dgebal)
, and eigenvectors of the balanced matrix
have subsequently been computed.
For a description of balancing, see the document for f08nhf (dgebal)
. 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 f08nhf (dgebal)
, , 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 f08nhf (dgebal)
- 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 real nonsymmetric matrix, as returned by f08nhf (dgebal)
- 7: – IntegerInput
On entry: , the number of columns of the matrix of eigenvectors.
- 8: – Real (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 f08njf (dgebak)
- 10: – IntegerOutput
unless the routine detects an error (see Section 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.
Parallelism and Performance
f08njf (dgebak) 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 floating-point operations is approximately proportional to .
The complex analogue of this routine is f08nwf (zgebak)
See Section 10
in f08nhf (dgebal)