pbtrf#
Functions
-
void spbtrf(const char *uplo, const INT n, const INT kd, f32 *restrict AB, const INT ldab, INT *info)#
SPBTRF computes the Cholesky factorization of a real symmetric positive definite band matrix A.
The factorization has the form
where U is an upper triangular matrix and L is lower triangular.A = U**T * U, if uplo = 'U', or A = L * L**T, if uplo = 'L',
- Further Details:
The band storage scheme is illustrated by the following example, when
n=6,kd=2, anduplo='U':On entry: On exit: * * a02 a13 a24 a35 * * u02 u13 u24 u35 * a01 a12 a23 a34 a45 * u01 u12 u23 u34 u45 a00 a11 a22 a33 a44 a55 u00 u11 u22 u33 u44 u55Similarly, if
uplo='L'the format of A is as follows:On entry: On exit: a00 a11 a22 a33 a44 a55 l00 l11 l22 l33 l44 l55 a10 a21 a32 a43 a54 * l10 l21 l32 l43 l54 * a20 a31 a42 a53 * * l20 l31 l42 l53 * *Array elements marked * are not used by the routine.
- Contributors:
Peter Mayes and Giuseppe Radicati, IBM ECSEC, Rome, March 23, 1989
Parameters
inuplo'U': Upper triangle of A is stored'L': Lower triangle of A is stored
innThe order of the matrix A.
n>=0.inkdThe number of superdiagonals of the matrix A if
uplo='U', or the number of subdiagonals ifuplo='L'.kd>=0.inoutABArray of dimension (
ldab,n). On entry, the upper or lower triangle of the symmetric band matrix A, stored in the firstkd+1rows of the array. The j-th column of A is stored in the j-th column of the array AB as follows: ifuplo='U',AB[kd+i-j + j*ldab] = A(i,j)formax(0,j-kd)<=i<=j; ifuplo='L',AB[i-j + j*ldab] = A(i,j)forj<=i<=min(n-1,j+kd). On exit, ifinfo=0, the triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T of the band matrix A, in the same storage format as A.inldabThe leading dimension of the array
AB.ldab>=kd+1.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i, the leading principal minor of order i is not positive, and the factorization could not be completed.
void spbtrf(
const char* uplo,
const INT n,
const INT kd,
f32* restrict AB,
const INT ldab,
INT* info
);
Functions
-
void dpbtrf(const char *uplo, const INT n, const INT kd, f64 *restrict AB, const INT ldab, INT *info)#
DPBTRF computes the Cholesky factorization of a real symmetric positive definite band matrix A.
The factorization has the form
where U is an upper triangular matrix and L is lower triangular.A = U**T * U, if uplo = 'U', or A = L * L**T, if uplo = 'L',
- Further Details:
The band storage scheme is illustrated by the following example, when
n=6,kd=2, anduplo='U':On entry: On exit: * * a02 a13 a24 a35 * * u02 u13 u24 u35 * a01 a12 a23 a34 a45 * u01 u12 u23 u34 u45 a00 a11 a22 a33 a44 a55 u00 u11 u22 u33 u44 u55Similarly, if
uplo='L'the format of A is as follows:On entry: On exit: a00 a11 a22 a33 a44 a55 l00 l11 l22 l33 l44 l55 a10 a21 a32 a43 a54 * l10 l21 l32 l43 l54 * a20 a31 a42 a53 * * l20 l31 l42 l53 * *Array elements marked * are not used by the routine.
- Contributors:
Peter Mayes and Giuseppe Radicati, IBM ECSEC, Rome, March 23, 1989
Parameters
inuplo'U': Upper triangle of A is stored'L': Lower triangle of A is stored
innThe order of the matrix A.
n>=0.inkdThe number of superdiagonals of the matrix A if
uplo='U', or the number of subdiagonals ifuplo='L'.kd>=0.inoutABArray of dimension (
ldab,n). On entry, the upper or lower triangle of the symmetric band matrix A, stored in the firstkd+1rows of the array. The j-th column of A is stored in the j-th column of the array AB as follows: ifuplo='U',AB[kd+i-j + j*ldab] = A(i,j)formax(0,j-kd)<=i<=j; ifuplo='L',AB[i-j + j*ldab] = A(i,j)forj<=i<=min(n-1,j+kd). On exit, ifinfo=0, the triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T of the band matrix A, in the same storage format as A.inldabThe leading dimension of the array
AB.ldab>=kd+1.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i, the leading principal minor of order i is not positive, and the factorization could not be completed.
void dpbtrf(
const char* uplo,
const INT n,
const INT kd,
f64* restrict AB,
const INT ldab,
INT* info
);
Functions
-
void cpbtrf(const char *uplo, const INT n, const INT kd, c64 *restrict AB, const INT ldab, INT *info)#
CPBTRF computes the Cholesky factorization of a complex Hermitian positive definite band matrix A.
The factorization has the form
where U is an upper triangular matrix and L is lower triangular.A = U**H * U, if uplo = 'U', or A = L * L**H, if uplo = 'L',
- Further Details:
The band storage scheme is illustrated by the following example, when
n=6,kd=2, anduplo='U':On entry: On exit: * * a02 a13 a24 a35 * * u02 u13 u24 u35 * a01 a12 a23 a34 a45 * u01 u12 u23 u34 u45 a00 a11 a22 a33 a44 a55 u00 u11 u22 u33 u44 u55Similarly, if
uplo='L'the format of A is as follows:On entry: On exit: a00 a11 a22 a33 a44 a55 l00 l11 l22 l33 l44 l55 a10 a21 a32 a43 a54 * l10 l21 l32 l43 l54 * a20 a31 a42 a53 * * l20 l31 l42 l53 * *Array elements marked * are not used by the routine.
- Contributors:
Peter Mayes and Giuseppe Radicati, IBM ECSEC, Rome, March 23, 1989
Parameters
inuplo'U': Upper triangle of A is stored'L': Lower triangle of A is stored
innThe order of the matrix A.
n>=0.inkdThe number of superdiagonals of the matrix A if
uplo='U', or the number of subdiagonals ifuplo='L'.kd>=0.inoutABArray of dimension (
ldab,n). On entry, the upper or lower triangle of the Hermitian band matrix A, stored in the firstkd+1rows of the array. The j-th column of A is stored in the j-th column of the array AB as follows: ifuplo='U',AB[kd+i-j + j*ldab] = A(i,j)formax(0,j-kd)<=i<=j; ifuplo='L',AB[i-j + j*ldab] = A(i,j)forj<=i<=min(n-1,j+kd). On exit, ifinfo=0, the triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H of the band matrix A, in the same storage format as A.inldabThe leading dimension of the array
AB.ldab>=kd+1.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i, the leading principal minor of order i is not positive, and the factorization could not be completed.
void cpbtrf(
const char* uplo,
const INT n,
const INT kd,
c64* restrict AB,
const INT ldab,
INT* info
);
Functions
-
void zpbtrf(const char *uplo, const INT n, const INT kd, c128 *restrict AB, const INT ldab, INT *info)#
ZPBTRF computes the Cholesky factorization of a complex Hermitian positive definite band matrix A.
The factorization has the form
where U is an upper triangular matrix and L is lower triangular.A = U**H * U, if uplo = 'U', or A = L * L**H, if uplo = 'L',
- Further Details:
The band storage scheme is illustrated by the following example, when
n=6,kd=2, anduplo='U':On entry: On exit: * * a02 a13 a24 a35 * * u02 u13 u24 u35 * a01 a12 a23 a34 a45 * u01 u12 u23 u34 u45 a00 a11 a22 a33 a44 a55 u00 u11 u22 u33 u44 u55Similarly, if
uplo='L'the format of A is as follows:On entry: On exit: a00 a11 a22 a33 a44 a55 l00 l11 l22 l33 l44 l55 a10 a21 a32 a43 a54 * l10 l21 l32 l43 l54 * a20 a31 a42 a53 * * l20 l31 l42 l53 * *Array elements marked * are not used by the routine.
- Contributors:
Peter Mayes and Giuseppe Radicati, IBM ECSEC, Rome, March 23, 1989
Parameters
inuplo'U': Upper triangle of A is stored'L': Lower triangle of A is stored
innThe order of the matrix A.
n>=0.inkdThe number of superdiagonals of the matrix A if
uplo='U', or the number of subdiagonals ifuplo='L'.kd>=0.inoutABArray of dimension (
ldab,n). On entry, the upper or lower triangle of the Hermitian band matrix A, stored in the firstkd+1rows of the array. The j-th column of A is stored in the j-th column of the array AB as follows: ifuplo='U',AB[kd+i-j + j*ldab] = A(i,j)formax(0,j-kd)<=i<=j; ifuplo='L',AB[i-j + j*ldab] = A(i,j)forj<=i<=min(n-1,j+kd). On exit, ifinfo=0, the triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H of the band matrix A, in the same storage format as A.inldabThe leading dimension of the array
AB.ldab>=kd+1.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i, the leading principal minor of order i is not positive, and the factorization could not be completed.
void zpbtrf(
const char* uplo,
const INT n,
const INT kd,
c128* restrict AB,
const INT ldab,
INT* info
);