sytrf_aa#

Functions

void ssytrf_aa(
    const char*          uplo,
    const INT            n,
          f32*  restrict A,
    const INT            lda,
          INT*  restrict ipiv,
          f32*  restrict work,
    const INT            lwork,
          INT*           info
);
void ssytrf_aa(const char *uplo, const INT n, f32 *restrict A, const INT lda, INT *restrict ipiv, f32 *restrict work, const INT lwork, INT *info)#

SSYTRF_AA computes the factorization of a real symmetric matrix A using the Aasen’s algorithm.

The form of the factorization is

A = U**T*T*U or A = L*T*L**T

where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and T is a symmetric tridiagonal matrix.

This is the blocked version of the algorithm, calling Level 3 BLAS.

Parameters

in
uplo

= ‘U’: Upper triangle of A is stored; = ‘L’: Lower triangle of A is stored.

in
n

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

inout
A

Double precision array, dimension (lda, n). On entry, the symmetric matrix A. On exit, the tridiagonal matrix is stored in the diagonals and the subdiagonals of A just below (or above) the diagonals, and L is stored below (or above) the subdiagonals.

in
lda

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

out
ipiv

Integer array, dimension (n). On exit, it contains the details of the interchanges.

out
work

Double precision array, dimension (max(1, lwork)). On exit, if info = 0, work[0] returns the optimal lwork.

in
lwork

The length of work. lwork >= 1, if n <= 1, and lwork >= 2*n, otherwise. For optimum performance lwork >= n*(1+nb). If lwork = -1, then a workspace query is assumed.

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value.

Functions

void dsytrf_aa(
    const char*          uplo,
    const INT            n,
          f64*  restrict A,
    const INT            lda,
          INT*  restrict ipiv,
          f64*  restrict work,
    const INT            lwork,
          INT*           info
);
void dsytrf_aa(const char *uplo, const INT n, f64 *restrict A, const INT lda, INT *restrict ipiv, f64 *restrict work, const INT lwork, INT *info)#

DSYTRF_AA computes the factorization of a real symmetric matrix A using the Aasen’s algorithm.

The form of the factorization is

A = U**T*T*U or A = L*T*L**T

where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and T is a symmetric tridiagonal matrix.

This is the blocked version of the algorithm, calling Level 3 BLAS.

Parameters

in
uplo

= ‘U’: Upper triangle of A is stored; = ‘L’: Lower triangle of A is stored.

in
n

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

inout
A

Double precision array, dimension (lda, n). On entry, the symmetric matrix A. On exit, the tridiagonal matrix is stored in the diagonals and the subdiagonals of A just below (or above) the diagonals, and L is stored below (or above) the subdiagonals.

in
lda

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

out
ipiv

Integer array, dimension (n). On exit, it contains the details of the interchanges.

out
work

Double precision array, dimension (max(1, lwork)). On exit, if info = 0, work[0] returns the optimal lwork.

in
lwork

The length of work. lwork >= 1, if n <= 1, and lwork >= 2*n, otherwise. For optimum performance lwork >= n*(1+nb). If lwork = -1, then a workspace query is assumed.

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value.

Functions

void csytrf_aa(
    const char*          uplo,
    const INT            n,
          c64*  restrict A,
    const INT            lda,
          INT*  restrict ipiv,
          c64*  restrict work,
    const INT            lwork,
          INT*           info
);
void csytrf_aa(const char *uplo, const INT n, c64 *restrict A, const INT lda, INT *restrict ipiv, c64 *restrict work, const INT lwork, INT *info)#

CSYTRF_AA computes the factorization of a complex symmetric matrix A using the Aasen’s algorithm.

The form of the factorization is

A = U**T*T*U or A = L*T*L**T

where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and T is a complex symmetric tridiagonal matrix.

This is the blocked version of the algorithm, calling Level 3 BLAS.

Parameters

in
uplo

= ‘U’: Upper triangle of A is stored; = ‘L’: Lower triangle of A is stored.

in
n

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

inout
A

Single complex array, dimension (lda, n). On entry, the symmetric matrix A. On exit, the tridiagonal matrix is stored in the diagonals and the subdiagonals of A just below (or above) the diagonals, and L is stored below (or above) the subdiagonals.

in
lda

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

out
ipiv

Integer array, dimension (n). On exit, it contains the details of the interchanges.

out
work

Single complex array, dimension (max(1, lwork)). On exit, if info = 0, work[0] returns the optimal lwork.

in
lwork

The length of work. lwork >= 1, if n <= 1, and lwork >= 2*n, otherwise. For optimum performance lwork >= n*(1+nb). If lwork = -1, then a workspace query is assumed.

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value.

Functions

void zsytrf_aa(
    const char*          uplo,
    const INT            n,
          c128* restrict A,
    const INT            lda,
          INT*  restrict ipiv,
          c128* restrict work,
    const INT            lwork,
          INT*           info
);
void zsytrf_aa(const char *uplo, const INT n, c128 *restrict A, const INT lda, INT *restrict ipiv, c128 *restrict work, const INT lwork, INT *info)#

ZSYTRF_AA computes the factorization of a complex symmetric matrix A using the Aasen’s algorithm.

The form of the factorization is

A = U**T*T*U or A = L*T*L**T

where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and T is a complex symmetric tridiagonal matrix.

This is the blocked version of the algorithm, calling Level 3 BLAS.

Parameters

in
uplo

= ‘U’: Upper triangle of A is stored; = ‘L’: Lower triangle of A is stored.

in
n

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

inout
A

Double complex array, dimension (lda, n). On entry, the symmetric matrix A. On exit, the tridiagonal matrix is stored in the diagonals and the subdiagonals of A just below (or above) the diagonals, and L is stored below (or above) the subdiagonals.

in
lda

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

out
ipiv

Integer array, dimension (n). On exit, it contains the details of the interchanges.

out
work

Double complex array, dimension (max(1, lwork)). On exit, if info = 0, work[0] returns the optimal lwork.

in
lwork

The length of work. lwork >= 1, if n <= 1, and lwork >= 2*n, otherwise. For optimum performance lwork >= n*(1+nb). If lwork = -1, then a workspace query is assumed.

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value.