pbequ#
Functions
-
void spbequ(const char *uplo, const INT n, const INT kd, const f32 *restrict AB, const INT ldab, f32 *restrict S, f32 *scond, f32 *amax, INT *info)#
SPBEQU computes row and column scalings intended to equilibrate a symmetric positive definite band matrix A and reduce its condition number (with respect to the two-norm).
S contains the scale factors, S(i) = 1/sqrt(A(i,i)), chosen so that the scaled matrix B with elements B(i,j) = S(i)*A(i,j)*S(j) has ones on the diagonal.
Parameters
inuplo= ‘U’: Upper triangular of A is stored = ‘L’: Lower triangular of A is stored
innThe order of the matrix A. n >= 0.
inkdThe number of super-diagonals (if uplo=’U’) or sub-diagonals (if uplo=’L’). kd >= 0.
inABThe banded matrix A. Array of dimension (ldab, n).
inldabThe leading dimension of AB. ldab >= kd+1.
outSThe scale factors for A. Array of dimension (n).
outscondRatio of smallest to largest S(i).
outamaxAbsolute value of largest matrix element.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
> 0: if info = i, the i-th diagonal element is nonpositive.
void spbequ(
const char* uplo,
const INT n,
const INT kd,
const f32* restrict AB,
const INT ldab,
f32* restrict S,
f32* scond,
f32* amax,
INT* info
);
Functions
-
void dpbequ(const char *uplo, const INT n, const INT kd, const f64 *restrict AB, const INT ldab, f64 *restrict S, f64 *scond, f64 *amax, INT *info)#
DPBEQU computes row and column scalings intended to equilibrate a symmetric positive definite band matrix A and reduce its condition number (with respect to the two-norm).
S contains the scale factors, S(i) = 1/sqrt(A(i,i)), chosen so that the scaled matrix B with elements B(i,j) = S(i)*A(i,j)*S(j) has ones on the diagonal.
Parameters
inuplo= ‘U’: Upper triangular of A is stored = ‘L’: Lower triangular of A is stored
innThe order of the matrix A. n >= 0.
inkdThe number of super-diagonals (if uplo=’U’) or sub-diagonals (if uplo=’L’). kd >= 0.
inABThe banded matrix A. Array of dimension (ldab, n).
inldabThe leading dimension of AB. ldab >= kd+1.
outSThe scale factors for A. Array of dimension (n).
outscondRatio of smallest to largest S(i).
outamaxAbsolute value of largest matrix element.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
> 0: if info = i, the i-th diagonal element is nonpositive.
void dpbequ(
const char* uplo,
const INT n,
const INT kd,
const f64* restrict AB,
const INT ldab,
f64* restrict S,
f64* scond,
f64* amax,
INT* info
);
Functions
-
void cpbequ(const char *uplo, const INT n, const INT kd, const c64 *restrict AB, const INT ldab, f32 *restrict S, f32 *scond, f32 *amax, INT *info)#
CPBEQU computes row and column scalings intended to equilibrate a Hermitian positive definite band matrix A and reduce its condition number (with respect to the two-norm).
S contains the scale factors, S(i) = 1/sqrt(A(i,i)), chosen so that the scaled matrix B with elements B(i,j) = S(i)*A(i,j)*S(j) has ones on the diagonal.
Parameters
inuplo= ‘U’: Upper triangular of A is stored = ‘L’: Lower triangular of A is stored
innThe order of the matrix A. n >= 0.
inkdThe number of super-diagonals (if uplo=’U’) or sub-diagonals (if uplo=’L’). kd >= 0.
inABThe banded matrix A. Array of dimension (ldab, n).
inldabThe leading dimension of AB. ldab >= kd+1.
outSThe scale factors for A. Array of dimension (n).
outscondRatio of smallest to largest S(i).
outamaxAbsolute value of largest matrix element.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
> 0: if info = i, the i-th diagonal element is nonpositive.
void cpbequ(
const char* uplo,
const INT n,
const INT kd,
const c64* restrict AB,
const INT ldab,
f32* restrict S,
f32* scond,
f32* amax,
INT* info
);
Functions
-
void zpbequ(const char *uplo, const INT n, const INT kd, const c128 *restrict AB, const INT ldab, f64 *restrict S, f64 *scond, f64 *amax, INT *info)#
ZPBEQU computes row and column scalings intended to equilibrate a Hermitian positive definite band matrix A and reduce its condition number (with respect to the two-norm).
S contains the scale factors, S(i) = 1/sqrt(A(i,i)), chosen so that the scaled matrix B with elements B(i,j) = S(i)*A(i,j)*S(j) has ones on the diagonal.
Parameters
inuplo= ‘U’: Upper triangular of A is stored = ‘L’: Lower triangular of A is stored
innThe order of the matrix A. n >= 0.
inkdThe number of super-diagonals (if uplo=’U’) or sub-diagonals (if uplo=’L’). kd >= 0.
inABThe banded matrix A. Array of dimension (ldab, n).
inldabThe leading dimension of AB. ldab >= kd+1.
outSThe scale factors for A. Array of dimension (n).
outscondRatio of smallest to largest S(i).
outamaxAbsolute value of largest matrix element.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
> 0: if info = i, the i-th diagonal element is nonpositive.
void zpbequ(
const char* uplo,
const INT n,
const INT kd,
const c128* restrict AB,
const INT ldab,
f64* restrict S,
f64* scond,
f64* amax,
INT* info
);