lasyf_rk#

Functions

void slasyf_rk(
    const char*          uplo,
    const INT            n,
    const INT            nb,
          INT*           kb,
          f32*  restrict A,
    const INT            lda,
          f32*  restrict E,
          INT*  restrict ipiv,
          f32*  restrict W,
    const INT            ldw,
          INT*           info
);
void slasyf_rk(const char *uplo, const INT n, const INT nb, INT *kb, f32 *restrict A, const INT lda, f32 *restrict E, INT *restrict ipiv, f32 *restrict W, const INT ldw, INT *info)#

SLASYF_RK 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_RK is an auxiliary routine called by SSYTRF_RK. It uses blocked code (calling Level 3 BLAS) to update the submatrix A11 (if UPLO = ‘U’) or A22 (if UPLO = ‘L’).

Parameters

in
uplo

Specifies whether the upper or lower triangular part of the symmetric matrix A is stored: = ‘U’: Upper triangular = ‘L’: Lower triangular

in
n

The order of the matrix A. n >= 0.

in
nb

The maximum number of columns of the matrix A that should be factored. nb should be at least 2 to allow for 2-by-2 pivot blocks.

out
kb

The number of columns of A that were actually factored. kb is either nb-1 or nb, or n if n <= nb.

inout
A

Double precision array, dimension (lda, n). On entry, the symmetric matrix A. On exit, contains: a) ONLY diagonal elements of the symmetric block diagonal matrix D on the diagonal of A, i.e. D(k,k) = A(k,k); (superdiagonal (or subdiagonal) elements of D are stored on exit in array E), and b) If UPLO = ‘U’: factor U in the superdiagonal part of A. If UPLO = ‘L’: factor L in the subdiagonal part of A.

in
lda

The leading dimension of the array A. lda >= max(1, n).

out
E

Double precision array, dimension (n). On exit, contains the superdiagonal (or subdiagonal) elements of the symmetric block diagonal matrix D with 1-by-1 or 2-by-2 diagonal blocks.

out
ipiv

Integer array, dimension (n). IPIV describes the permutation matrix P in the factorization.

out
W

Double precision array, dimension (ldw, nb).

in
ldw

The leading dimension of the array W. ldw >= max(1, n).

out
info

  • = 0: successful exit

  • < 0: If info = -k, the k-th argument had an illegal value

  • > 0: If info = k, the matrix A is singular.

Functions

void dlasyf_rk(
    const char*          uplo,
    const INT            n,
    const INT            nb,
          INT*           kb,
          f64*  restrict A,
    const INT            lda,
          f64*  restrict E,
          INT*  restrict ipiv,
          f64*  restrict W,
    const INT            ldw,
          INT*           info
);
void dlasyf_rk(const char *uplo, const INT n, const INT nb, INT *kb, f64 *restrict A, const INT lda, f64 *restrict E, INT *restrict ipiv, f64 *restrict W, const INT ldw, INT *info)#

DLASYF_RK 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_RK is an auxiliary routine called by DSYTRF_RK. It uses blocked code (calling Level 3 BLAS) to update the submatrix A11 (if UPLO = ‘U’) or A22 (if UPLO = ‘L’).

Parameters

in
uplo

Specifies whether the upper or lower triangular part of the symmetric matrix A is stored: = ‘U’: Upper triangular = ‘L’: Lower triangular

in
n

The order of the matrix A. n >= 0.

in
nb

The maximum number of columns of the matrix A that should be factored. nb should be at least 2 to allow for 2-by-2 pivot blocks.

out
kb

The number of columns of A that were actually factored. kb is either nb-1 or nb, or n if n <= nb.

inout
A

Double precision array, dimension (lda, n). On entry, the symmetric matrix A. On exit, contains: a) ONLY diagonal elements of the symmetric block diagonal matrix D on the diagonal of A, i.e. D(k,k) = A(k,k); (superdiagonal (or subdiagonal) elements of D are stored on exit in array E), and b) If UPLO = ‘U’: factor U in the superdiagonal part of A. If UPLO = ‘L’: factor L in the subdiagonal part of A.

in
lda

The leading dimension of the array A. lda >= max(1, n).

out
E

Double precision array, dimension (n). On exit, contains the superdiagonal (or subdiagonal) elements of the symmetric block diagonal matrix D with 1-by-1 or 2-by-2 diagonal blocks.

out
ipiv

Integer array, dimension (n). IPIV describes the permutation matrix P in the factorization.

out
W

Double precision array, dimension (ldw, nb).

in
ldw

The leading dimension of the array W. ldw >= max(1, n).

out
info

  • = 0: successful exit

  • < 0: If info = -k, the k-th argument had an illegal value

  • > 0: If info = k, the matrix A is singular.

Functions

void clasyf_rk(
    const char*          uplo,
    const INT            n,
    const INT            nb,
          INT*           kb,
          c64*  restrict A,
    const INT            lda,
          c64*  restrict E,
          INT*  restrict ipiv,
          c64*  restrict W,
    const INT            ldw,
          INT*           info
);
void clasyf_rk(const char *uplo, const INT n, const INT nb, INT *kb, c64 *restrict A, const INT lda, c64 *restrict E, INT *restrict ipiv, c64 *restrict W, const INT ldw, INT *info)#

CLASYF_RK 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_RK is an auxiliary routine called by CSYTRF_RK. It uses blocked code (calling Level 3 BLAS) to update the submatrix A11 (if UPLO = ‘U’) or A22 (if UPLO = ‘L’).

Parameters

in
uplo

Specifies whether the upper or lower triangular part of the symmetric matrix A is stored: = ‘U’: Upper triangular = ‘L’: Lower triangular

in
n

The order of the matrix A. n >= 0.

in
nb

The maximum number of columns of the matrix A that should be factored. nb should be at least 2 to allow for 2-by-2 pivot blocks.

out
kb

The number of columns of A that were actually factored. kb is either nb-1 or nb, or n if n <= nb.

inout
A

Complex*16 array, dimension (lda, n). On entry, the symmetric matrix A. On exit, contains: a) ONLY diagonal elements of the symmetric block diagonal matrix D on the diagonal of A, i.e. D(k,k) = A(k,k); (superdiagonal (or subdiagonal) elements of D are stored on exit in array E), and b) If UPLO = ‘U’: factor U in the superdiagonal part of A. If UPLO = ‘L’: factor L in the subdiagonal part of A.

in
lda

The leading dimension of the array A. lda >= max(1, n).

out
E

Complex*16 array, dimension (n). On exit, contains the superdiagonal (or subdiagonal) elements of the symmetric block diagonal matrix D with 1-by-1 or 2-by-2 diagonal blocks.

out
ipiv

Integer array, dimension (n). IPIV describes the permutation matrix P in the factorization.

out
W

Complex*16 array, dimension (ldw, nb).

in
ldw

The leading dimension of the array W. ldw >= max(1, n).

out
info

  • = 0: successful exit

  • < 0: If info = -k, the k-th argument had an illegal value

  • > 0: If info = k, the matrix A is singular.

Functions

void zlasyf_rk(
    const char*          uplo,
    const INT            n,
    const INT            nb,
          INT*           kb,
          c128* restrict A,
    const INT            lda,
          c128* restrict E,
          INT*  restrict ipiv,
          c128* restrict W,
    const INT            ldw,
          INT*           info
);
void zlasyf_rk(const char *uplo, const INT n, const INT nb, INT *kb, c128 *restrict A, const INT lda, c128 *restrict E, INT *restrict ipiv, c128 *restrict W, const INT ldw, INT *info)#

ZLASYF_RK 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_RK is an auxiliary routine called by ZSYTRF_RK. It uses blocked code (calling Level 3 BLAS) to update the submatrix A11 (if UPLO = ‘U’) or A22 (if UPLO = ‘L’).

Parameters

in
uplo

Specifies whether the upper or lower triangular part of the symmetric matrix A is stored: = ‘U’: Upper triangular = ‘L’: Lower triangular

in
n

The order of the matrix A. n >= 0.

in
nb

The maximum number of columns of the matrix A that should be factored. nb should be at least 2 to allow for 2-by-2 pivot blocks.

out
kb

The number of columns of A that were actually factored. kb is either nb-1 or nb, or n if n <= nb.

inout
A

Complex*16 array, dimension (lda, n). On entry, the symmetric matrix A. On exit, contains: a) ONLY diagonal elements of the symmetric block diagonal matrix D on the diagonal of A, i.e. D(k,k) = A(k,k); (superdiagonal (or subdiagonal) elements of D are stored on exit in array E), and b) If UPLO = ‘U’: factor U in the superdiagonal part of A. If UPLO = ‘L’: factor L in the subdiagonal part of A.

in
lda

The leading dimension of the array A. lda >= max(1, n).

out
E

Complex*16 array, dimension (n). On exit, contains the superdiagonal (or subdiagonal) elements of the symmetric block diagonal matrix D with 1-by-1 or 2-by-2 diagonal blocks.

out
ipiv

Integer array, dimension (n). IPIV describes the permutation matrix P in the factorization.

out
W

Complex*16 array, dimension (ldw, nb).

in
ldw

The leading dimension of the array W. ldw >= max(1, n).

out
info

  • = 0: successful exit

  • < 0: If info = -k, the k-th argument had an illegal value

  • > 0: If info = k, the matrix A is singular.