ML_DGEBAL – Balancing of a general real matrix

Block SymbolLicensing group: MATRIX
PIC

Function Description
The output references yA and ySCALE are always set to the corresponding input references uA and uSCALE. If HLD = on then nothing is computed otherwise the LAPACK function DGEBAL is called internally:

DGEBAL(sJOB, N, uA, LDA, ilo, ihi, uSCALE, info);

where parameters of DGEBAL are set in the following way:

The error flag E is set to on if:

Emphasize that the indices ilo and ihi start from zero unlike FORTRAN version where they start from one. See LAPACK documentation [7] for more details.

Inputs

uA

Input reference to matrix A

reference

uSCALE

Input reference to vector SCALE

reference

job

Specifies the operations to be performed on matrix A   0  4

long

HLD

Hold

bool

Outputs

yA

Output reference to matrix A

reference

ySCALE

Output reference to vector SCALE

reference

ilo

Zero based low row and column index of working submatrix

long

ihi

Zero based high row and column index of working submatrix

long

E

Error indicator

bool

info

LAPACK function result info. If info = -i, the i=th argument had an illegal value

long