lasyf_rook#
Functions
-
void slasyf_rook(const char *uplo, const INT n, const INT nb, INT *kb, f32 *restrict A, const INT lda, INT *restrict ipiv, f32 *restrict W, const INT ldw, INT *info)#
SLASYF_ROOK computes a partial factorization of a real symmetric matrix A using the bounded Bunch-Kaufman (“rook”) diagonal pivoting method.
The partial factorization has the form:
A = ( I U12 ) ( A11 0 ) ( I 0 ) if UPLO = 'U', or: ( 0 U22 ) ( 0 D ) ( U12**T U22**T ) A = ( L11 0 ) ( D 0 ) ( L11**T L21**T ) if UPLO = 'L' ( L21 I ) ( 0 A22 ) ( 0 I )where the order of D is at most NB. The actual order is returned in the argument KB, and is either NB or NB-1, or N if N <= NB.
SLASYF_ROOK is an auxiliary routine called by SSYTRF_ROOK. It uses blocked code (calling Level 3 BLAS) to update the submatrix A11 (if UPLO = ‘U’) or A22 (if UPLO = ‘L’).
If
uplo='U': Only the lastkbelements ofipivare set.If
ipiv[k]>=0, then rows and columnskandipiv[k]were interchanged andD(k,k)is a 1-by-1 diagonal block.If
ipiv[k]<0andipiv[k-1]<0, then rows and columnskand-ipiv[k]-1were interchanged and rows and columnsk-1and-ipiv[k-1]-1were interchanged,D(k-1:k,k-1:k)is a 2-by-2 diagonal block.
If
uplo='L': Only the firstkbelements ofipivare set.If
ipiv[k]>=0, then rows and columnskandipiv[k]were interchanged andD(k,k)is a 1-by-1 diagonal block.If
ipiv[k]<0andipiv[k+1]<0, then rows and columnskand-ipiv[k]-1were interchanged and rows and columnsk+1and-ipiv[k+1]-1were interchanged,D(k:k+1,k:k+1)is a 2-by-2 diagonal block.
Parameters
inuplo'U': Upper triangular'L': Lower triangular
innThe order of the matrix A.
n>=0.innbThe maximum number of columns of the matrix A that should be factored.
nbshould be at least 2 to allow for 2-by-2 pivot blocks.outkbThe number of columns of A that were actually factored.
kbis eithernb-1ornb, ornifn<=nb.inoutAArray of dimension
(lda,n). On entry, the symmetric matrix A. Ifuplo='U', the leadingn-by-nupper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. Ifuplo='L', the leadingn-by-nlower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. On exit, A contains details of the partial factorization.inldaThe leading dimension of the array A.
lda>=max(1,n).outipivArray of dimension
n. Details of the interchanges and the block structure of D.outWArray of dimension
(ldw,nb).inldwThe leading dimension of the array W.
ldw>=max(1,n).outinfoinfo=0: successful exitinfo>0: ifinfo=k,D(k,k)is exactly zero. The factorization has been completed, but the block diagonal matrix D is exactly singular.
void slasyf_rook(
const char* uplo,
const INT n,
const INT nb,
INT* kb,
f32* restrict A,
const INT lda,
INT* restrict ipiv,
f32* restrict W,
const INT ldw,
INT* info
);
Functions
-
void dlasyf_rook(const char *uplo, const INT n, const INT nb, INT *kb, f64 *restrict A, const INT lda, INT *restrict ipiv, f64 *restrict W, const INT ldw, INT *info)#
DLASYF_ROOK computes a partial factorization of a real symmetric matrix A using the bounded Bunch-Kaufman (“rook”) diagonal pivoting method.
The partial factorization has the form:
A = ( I U12 ) ( A11 0 ) ( I 0 ) if UPLO = 'U', or: ( 0 U22 ) ( 0 D ) ( U12**T U22**T ) A = ( L11 0 ) ( D 0 ) ( L11**T L21**T ) if UPLO = 'L' ( L21 I ) ( 0 A22 ) ( 0 I )where the order of D is at most NB. The actual order is returned in the argument KB, and is either NB or NB-1, or N if N <= NB.
DLASYF_ROOK is an auxiliary routine called by DSYTRF_ROOK. It uses blocked code (calling Level 3 BLAS) to update the submatrix A11 (if UPLO = ‘U’) or A22 (if UPLO = ‘L’).
If
uplo='U': Only the lastkbelements ofipivare set.If
ipiv[k]>=0, then rows and columnskandipiv[k]were interchanged andD(k,k)is a 1-by-1 diagonal block.If
ipiv[k]<0andipiv[k-1]<0, then rows and columnskand-ipiv[k]-1were interchanged and rows and columnsk-1and-ipiv[k-1]-1were interchanged,D(k-1:k,k-1:k)is a 2-by-2 diagonal block.
If
uplo='L': Only the firstkbelements ofipivare set.If
ipiv[k]>=0, then rows and columnskandipiv[k]were interchanged andD(k,k)is a 1-by-1 diagonal block.If
ipiv[k]<0andipiv[k+1]<0, then rows and columnskand-ipiv[k]-1were interchanged and rows and columnsk+1and-ipiv[k+1]-1were interchanged,D(k:k+1,k:k+1)is a 2-by-2 diagonal block.
Parameters
inuplo'U': Upper triangular'L': Lower triangular
innThe order of the matrix A.
n>=0.innbThe maximum number of columns of the matrix A that should be factored.
nbshould be at least 2 to allow for 2-by-2 pivot blocks.outkbThe number of columns of A that were actually factored.
kbis eithernb-1ornb, ornifn<=nb.inoutAArray of dimension
(lda,n). On entry, the symmetric matrix A. Ifuplo='U', the leadingn-by-nupper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. Ifuplo='L', the leadingn-by-nlower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. On exit, A contains details of the partial factorization.inldaThe leading dimension of the array A.
lda>=max(1,n).outipivArray of dimension
n. Details of the interchanges and the block structure of D.outWArray of dimension
(ldw,nb).inldwThe leading dimension of the array W.
ldw>=max(1,n).outinfoinfo=0: successful exitinfo>0: ifinfo=k,D(k,k)is exactly zero. The factorization has been completed, but the block diagonal matrix D is exactly singular.
void dlasyf_rook(
const char* uplo,
const INT n,
const INT nb,
INT* kb,
f64* restrict A,
const INT lda,
INT* restrict ipiv,
f64* restrict W,
const INT ldw,
INT* info
);
Functions
-
void clasyf_rook(const char *uplo, const INT n, const INT nb, INT *kb, c64 *restrict A, const INT lda, INT *restrict ipiv, c64 *restrict W, const INT ldw, INT *info)#
CLASYF_ROOK computes a partial factorization of a complex symmetric matrix A using the bounded Bunch-Kaufman (“rook”) diagonal pivoting method.
The partial factorization has the form:
A = ( I U12 ) ( A11 0 ) ( I 0 ) if UPLO = 'U', or: ( 0 U22 ) ( 0 D ) ( U12**T U22**T ) A = ( L11 0 ) ( D 0 ) ( L11**T L21**T ) if UPLO = 'L' ( L21 I ) ( 0 A22 ) ( 0 I )where the order of D is at most NB. The actual order is returned in the argument KB, and is either NB or NB-1, or N if N <= NB.
CLASYF_ROOK is an auxiliary routine called by CSYTRF_ROOK. It uses blocked code (calling Level 3 BLAS) to update the submatrix A11 (if UPLO = ‘U’) or A22 (if UPLO = ‘L’).
If
uplo='U': Only the lastkbelements ofipivare set.If
ipiv[k]>=0, then rows and columnskandipiv[k]were interchanged andD(k,k)is a 1-by-1 diagonal block.If
ipiv[k]<0andipiv[k-1]<0, then rows and columnskand-ipiv[k]-1were interchanged and rows and columnsk-1and-ipiv[k-1]-1were interchanged,D(k-1:k,k-1:k)is a 2-by-2 diagonal block.
If
uplo='L': Only the firstkbelements ofipivare set.If
ipiv[k]>=0, then rows and columnskandipiv[k]were interchanged andD(k,k)is a 1-by-1 diagonal block.If
ipiv[k]<0andipiv[k+1]<0, then rows and columnskand-ipiv[k]-1were interchanged and rows and columnsk+1and-ipiv[k+1]-1were interchanged,D(k:k+1,k:k+1)is a 2-by-2 diagonal block.
Parameters
inuplo'U': Upper triangular'L': Lower triangular
innThe order of the matrix A.
n>=0.innbThe maximum number of columns of the matrix A that should be factored.
nbshould be at least 2 to allow for 2-by-2 pivot blocks.outkbThe number of columns of A that were actually factored.
kbis eithernb-1ornb, ornifn<=nb.inoutAComplex array of dimension
(lda,n). On entry, the symmetric matrix A. Ifuplo='U', the leadingn-by-nupper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. Ifuplo='L', the leadingn-by-nlower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. On exit, A contains details of the partial factorization.inldaThe leading dimension of the array A.
lda>=max(1,n).outipivArray of dimension
n. Details of the interchanges and the block structure of D.outWComplex array of dimension
(ldw,nb).inldwThe leading dimension of the array W.
ldw>=max(1,n).outinfoinfo=0: successful exitinfo>0: ifinfo=k,D(k,k)is exactly zero. The factorization has been completed, but the block diagonal matrix D is exactly singular.
void clasyf_rook(
const char* uplo,
const INT n,
const INT nb,
INT* kb,
c64* restrict A,
const INT lda,
INT* restrict ipiv,
c64* restrict W,
const INT ldw,
INT* info
);
Functions
-
void zlasyf_rook(const char *uplo, const INT n, const INT nb, INT *kb, c128 *restrict A, const INT lda, INT *restrict ipiv, c128 *restrict W, const INT ldw, INT *info)#
ZLASYF_ROOK computes a partial factorization of a complex symmetric matrix A using the bounded Bunch-Kaufman (“rook”) diagonal pivoting method.
The partial factorization has the form:
A = ( I U12 ) ( A11 0 ) ( I 0 ) if UPLO = 'U', or: ( 0 U22 ) ( 0 D ) ( U12**T U22**T ) A = ( L11 0 ) ( D 0 ) ( L11**T L21**T ) if UPLO = 'L' ( L21 I ) ( 0 A22 ) ( 0 I )where the order of D is at most NB. The actual order is returned in the argument KB, and is either NB or NB-1, or N if N <= NB.
ZLASYF_ROOK is an auxiliary routine called by ZSYTRF_ROOK. It uses blocked code (calling Level 3 BLAS) to update the submatrix A11 (if UPLO = ‘U’) or A22 (if UPLO = ‘L’).
If
uplo='U': Only the lastkbelements ofipivare set.If
ipiv[k]>=0, then rows and columnskandipiv[k]were interchanged andD(k,k)is a 1-by-1 diagonal block.If
ipiv[k]<0andipiv[k-1]<0, then rows and columnskand-ipiv[k]-1were interchanged and rows and columnsk-1and-ipiv[k-1]-1were interchanged,D(k-1:k,k-1:k)is a 2-by-2 diagonal block.
If
uplo='L': Only the firstkbelements ofipivare set.If
ipiv[k]>=0, then rows and columnskandipiv[k]were interchanged andD(k,k)is a 1-by-1 diagonal block.If
ipiv[k]<0andipiv[k+1]<0, then rows and columnskand-ipiv[k]-1were interchanged and rows and columnsk+1and-ipiv[k+1]-1were interchanged,D(k:k+1,k:k+1)is a 2-by-2 diagonal block.
Parameters
inuplo'U': Upper triangular'L': Lower triangular
innThe order of the matrix A.
n>=0.innbThe maximum number of columns of the matrix A that should be factored.
nbshould be at least 2 to allow for 2-by-2 pivot blocks.outkbThe number of columns of A that were actually factored.
kbis eithernb-1ornb, ornifn<=nb.inoutAComplex array of dimension
(lda,n). On entry, the symmetric matrix A. Ifuplo='U', the leadingn-by-nupper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. Ifuplo='L', the leadingn-by-nlower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. On exit, A contains details of the partial factorization.inldaThe leading dimension of the array A.
lda>=max(1,n).outipivArray of dimension
n. Details of the interchanges and the block structure of D.outWComplex array of dimension
(ldw,nb).inldwThe leading dimension of the array W.
ldw>=max(1,n).outinfoinfo=0: successful exitinfo>0: ifinfo=k,D(k,k)is exactly zero. The factorization has been completed, but the block diagonal matrix D is exactly singular.
void zlasyf_rook(
const char* uplo,
const INT n,
const INT nb,
INT* kb,
c128* restrict A,
const INT lda,
INT* restrict ipiv,
c128* restrict W,
const INT ldw,
INT* info
);