XLPack 6.1
Excel VBA Numerical Library Reference Manual
Loading...
Searching...
No Matches

◆ Zgebak()

Sub Zgebak ( Job As  String,
Side As  String,
N As  Long,
Ilo As  Long,
Ihi As  Long,
Scal() As  Double,
M As  Long,
V() As  Complex,
Info As  Long 
)

Eigenvectors of original complex general matrix by backward transformation on balanced matrix

Purpose
This routine forms the right or left eigenvectors of a complex general matrix by backward transformation on the computed eigenvectors of the balanced matrix output by Zgebal.
Parameters
[in]JobSpecifies the operations to be performed on A.
= "N": Do nothing, return immediately.
= "P": Do backward transformation for permutation only.
= "S": Do backward transformation for scaling only.
= "B": Do backward transformations for both permutation and scaling.
Job must be the same as the argument Job supplied to Zgebal.
[in]Side= "R": V contains right eigenvectors.
= "L": V contains left eigenvectors.
[in]NOrder of the matrix A. (N >= 0) (If N = 0, returns without computation)
[in]Ilo
[in]IhiThe integers Ilo and Ihi determined by Zgebal. (1 <= Ilo <= Ihi <= N, if N > 0. Ilo = 1 and Ihi = 0, if N = 0)
[out]Scal()Array Scal(LScal - 1) (LScal >= N)
Details of the permutation and scaling factors, as returned by Zgebal.
[in]MThe number of columns of the matrix V. (M >= 0) (If M = 0, returns without computation)
[in,out]V()Array V(LV1 - 1, LV2 - 1) (LV1 >= N, LV2 >= M)
[in] The matrix of right or left eigenvectors to be transformed, as returned by Zhsein or Ztrevc3.
[out] V() is overwritten by the transformed eigenvectors.
[out]Info= 0: Successful exit.
= -1: The argument Job had an illegal value. (Job <> "N", "P", "S" nor "B")
= -2: The argument Side had an illegal value. (Side <> "R" nor "L")
= -3: The argument N had an illegal value. (N < 0)
= -4: The argument Ilo had an illegal value. (Ilo < 1 or Ilo > N)
= -5: The argument Ihi had an illegal value. (Ihi < min(Ilo, N) or Ihi > N)
= -6: The argument Scal() is invalid.
= -7: The argument M had an illegal value. (M < 0)
= -8: The argument V() is invalid.
Reference
LAPACK