XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ zgebak()

void zgebak ( char  job,
char  side,
int  n,
int  ilo,
int  ihi,
double  scale[],
int  m,
int  ldv,
doublecomplex  v[],
int *  info 
)

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)
[in]scale[]Array scale[lscale] (lscale >= n)
Details of the permutation and scaling factors, as returned by zgebal.
[in]mThe number of columns of the matrix V. (m >= 0)
[in]ldvLeading dimension of the two dimensional array v[][]. (ldv >= max(1, n))
[in,out]v[][]Array v[lv][ldv] (lv >= 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)
= -7: The argument m had an illegal value (m < 0)
= -8: The argument ldv had an illegal value (ldv < max(1, n))
Reference
LAPACK