|
NAG[f08nwc] NAG[nag_zgebak] - Transform eigenvectors of complex balanced matrix to those of original matrix supplied to f08nvc (nag_zgebal)
|
|
Calling Sequence
f08nwc(job, side, ilo, ihi, scale, v, 'n'=n, 'm'=m, 'fail'=fail)
nag_zgebak(. . .)
Parameters
|
job - String;
|
|
|
Constraint: "Nag_DoNothing", "Nag_Permute", "Nag_Scale" or "Nag_DoBoth". .
|
|
|
side - String;
|
|
|
On entry: indicates whether left or right eigenvectors are to be transformed.
|
|
The left eigenvectors are transformed.
|
|
The right eigenvectors are transformed.
|
|
Constraint: "Nag_LeftSide" or "Nag_RightSide". .
|
|
|
ilo - integer;
ihi - integer;
|
|
|
if , ;
|
|
|
scale - Vector(1..dim, datatype=float[8]);
|
|
|
Note: the dimension, dim, of the array scale must be at least .
|
|
On entry: details of the permutations and/or the scaling factors used to balance the original complex general matrix, as returned by f08nvc (nag_zgebal).
|
|
|
v - Matrix(1..dim1, 1..dim2, datatype=complex[8], order=order);
|
|
|
Note: this array may be supplied in Fortran_order or C_order , as specified by order. All array parameters must use a consistent order.
|
|
On entry: the matrix of left or right eigenvectors to be transformed.
|
|
On exit: the transformed eigenvectors.
|
|
|
'n'=n - integer; (optional)
|
|
|
Default value: the first dimension of the array v.
|
|
On entry: , the number of rows of the matrix of eigenvectors.
|
|
Constraint: . .
|
|
|
'm'=m - integer; (optional)
|
|
|
Default value: the second dimension of the array v.
|
|
On entry: , the number of columns of the matrix of eigenvectors.
|
|
Constraint: . .
|
|
|
'fail'=fail - table; (optional)
|
|
|
The NAG error argument, see the documentation for NagError.
|
|
|
|
Description
|
|
|
Purpose
|
|
nag_zgebak (f08nwc) transforms eigenvectors of a balanced matrix to those of the original complex general matrix.
|
|
Error Indicators and Warnings
|
|
"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: .
"NE_INT_3"
On entry, , , . Constraint: if , and .
On entry, , , . Constraint: if , .
"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 consult NAG for assistance.
|
|
Accuracy
|
|
The errors are negligible.
|
|
Further Comments
|
|
The total number of real floating-point operations is approximately proportional to .
The real analogue of this function is f08njc (nag_dgebak).
|
|
|
Examples
|
|
>
|
job := "Nag_DoBoth":
side := "Nag_RightSide":
n := 4:
ilo := 2:
ihi := 3:
m := 4:
scale := Vector([3, 1, 1, 1], datatype=float[8]):
v := Matrix([[1 +0*I , 0.6032225283394843 -0.3967774716605157*I , 0.2982663996834333 +0.7017336003165667*I , 0.7768255861335956 +0.2231744138664043*I ], [0 +0*I , -0.06157074124970285 +0.04126986941002295*I , 0.4613150078539515 -1.765599476879182e-17*I , -0.2071937862358927 -0.2450198886726208*I ], [0 +0*I , 0.08223214401049841 +0*I , 0.4251208555461429 +0.284951615584963*I , -0.01188956374147341 +0.4371839616835083*I ], [0 +0*I , 0 +0*I , 0 +0*I , 0.1452103084889974 +0*I ]], datatype=complex[8]):
NAG:-f08nwc(job, side, ilo, ihi, scale, v, 'n' = n, 'm' = m):
|

|
|