gebak#

Functions

void sgebak(
    const char* job,
    const char* side,
    const INT   n,
    const INT   ilo,
    const INT   ihi,
    const f32*  scale,
    const INT   m,
          f32*  V,
    const INT   ldv,
          INT*  info
);
void sgebak(const char *job, const char *side, const INT n, const INT ilo, const INT ihi, const f32 *scale, const INT m, f32 *V, const INT ldv, INT *info)#

SGEBAK forms the right or left eigenvectors of a real general matrix by backward transformation on the computed eigenvectors of the balanced matrix output by SGEBAL.

Parameters

in
job

Specifies the type of backward transformation required: = ‘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 SGEBAL.

in
side

= ‘R’: V contains right eigenvectors; = ‘L’: V contains left eigenvectors.

in
n

The number of rows of the matrix V. N >= 0.

in
ilo

The integers ILO and IHI determined by SGEBAL. 0 <= ILO <= IHI <= N-1, if N > 0; ILO=0 and IHI=-1, if N=0. Uses 0-based indexing.

in
ihi

See ILO. Uses 0-based indexing.

in
scale

Double precision array, dimension (N). Details of the permutation and scaling factors, as returned by SGEBAL. Permutation indices are 0-based.

in
m

The number of columns of the matrix V. M >= 0.

inout
V

Double precision array, dimension (LDV,M). On entry, the matrix of right or left eigenvectors to be transformed, as returned by SHSEIN or STREVC. On exit, V is overwritten by the transformed eigenvectors.

in
ldv

The leading dimension of the array V. LDV >= max(1,N).

out
info

  • = 0: successful exit

  • < 0: if INFO = -i, the i-th argument had an illegal value.

Functions

void dgebak(
    const char* job,
    const char* side,
    const INT   n,
    const INT   ilo,
    const INT   ihi,
    const f64*  scale,
    const INT   m,
          f64*  V,
    const INT   ldv,
          INT*  info
);
void dgebak(const char *job, const char *side, const INT n, const INT ilo, const INT ihi, const f64 *scale, const INT m, f64 *V, const INT ldv, INT *info)#

DGEBAK forms the right or left eigenvectors of a real general matrix by backward transformation on the computed eigenvectors of the balanced matrix output by DGEBAL.

Parameters

in
job

Specifies the type of backward transformation required: = ‘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 DGEBAL.

in
side

= ‘R’: V contains right eigenvectors; = ‘L’: V contains left eigenvectors.

in
n

The number of rows of the matrix V. N >= 0.

in
ilo

The integers ILO and IHI determined by DGEBAL. 0 <= ILO <= IHI <= N-1, if N > 0; ILO=0 and IHI=-1, if N=0. Uses 0-based indexing.

in
ihi

See ILO. Uses 0-based indexing.

in
scale

Double precision array, dimension (N). Details of the permutation and scaling factors, as returned by DGEBAL. Permutation indices are 0-based.

in
m

The number of columns of the matrix V. M >= 0.

inout
V

Double precision array, dimension (LDV,M). On entry, the matrix of right or left eigenvectors to be transformed, as returned by DHSEIN or DTREVC. On exit, V is overwritten by the transformed eigenvectors.

in
ldv

The leading dimension of the array V. LDV >= max(1,N).

out
info

  • = 0: successful exit

  • < 0: if INFO = -i, the i-th argument had an illegal value.

Functions

void cgebak(
    const char* job,
    const char* side,
    const INT   n,
    const INT   ilo,
    const INT   ihi,
    const f32*  scale,
    const INT   m,
          c64*  V,
    const INT   ldv,
          INT*  info
);
void cgebak(const char *job, const char *side, const INT n, const INT ilo, const INT ihi, const f32 *scale, const INT m, c64 *V, const INT ldv, INT *info)#

CGEBAK forms the right or left eigenvectors of a complex general matrix by backward transformation on the computed eigenvectors of the balanced matrix output by CGEBAL.

Parameters

in
job

Specifies the type of backward transformation required: = ‘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 CGEBAL.

in
side

= ‘R’: V contains right eigenvectors; = ‘L’: V contains left eigenvectors.

in
n

The number of rows of the matrix V. N >= 0.

in
ilo

The integers ILO and IHI determined by CGEBAL. 0 <= ILO <= IHI <= N-1, if N > 0; ILO=0 and IHI=-1, if N=0. Uses 0-based indexing.

in
ihi

See ILO. Uses 0-based indexing.

in
scale

Single precision array, dimension (N). Details of the permutation and scaling factors, as returned by CGEBAL. Permutation indices are 0-based.

in
m

The number of columns of the matrix V. M >= 0.

inout
V

Complex*16 array, dimension (LDV,M). On entry, the matrix of right or left eigenvectors to be transformed, as returned by CHSEIN or CTREVC. On exit, V is overwritten by the transformed eigenvectors.

in
ldv

The leading dimension of the array V. LDV >= max(1,N).

out
info

  • = 0: successful exit

  • < 0: if INFO = -i, the i-th argument had an illegal value.

Functions

void zgebak(
    const char* job,
    const char* side,
    const INT   n,
    const INT   ilo,
    const INT   ihi,
    const f64*  scale,
    const INT   m,
          c128* V,
    const INT   ldv,
          INT*  info
);
void zgebak(const char *job, const char *side, const INT n, const INT ilo, const INT ihi, const f64 *scale, const INT m, c128 *V, const INT ldv, INT *info)#

ZGEBAK 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
job

Specifies the type of backward transformation required: = ‘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
n

The number of rows of the matrix V. N >= 0.

in
ilo

The integers ILO and IHI determined by ZGEBAL. 0 <= ILO <= IHI <= N-1, if N > 0; ILO=0 and IHI=-1, if N=0. Uses 0-based indexing.

in
ihi

See ILO. Uses 0-based indexing.

in
scale

Double precision array, dimension (N). Details of the permutation and scaling factors, as returned by ZGEBAL. Permutation indices are 0-based.

in
m

The number of columns of the matrix V. M >= 0.

inout
V

Complex*16 array, dimension (LDV,M). On entry, the matrix of right or left eigenvectors to be transformed, as returned by ZHSEIN or ZTREVC. On exit, V is overwritten by the transformed eigenvectors.

in
ldv

The leading dimension of the array V. LDV >= max(1,N).

out
info

  • = 0: successful exit

  • < 0: if INFO = -i, the i-th argument had an illegal value.