syconv#

Functions

void ssyconv(
    const char*          uplo,
    const char*          way,
    const INT            n,
          f32*  restrict A,
    const INT            lda,
    const INT*  restrict ipiv,
          f32*  restrict E,
          INT*           info
);
void ssyconv(const char *uplo, const char *way, const INT n, f32 *restrict A, const INT lda, const INT *restrict ipiv, f32 *restrict E, INT *info)#

SSYCONV convert A given by TRF into L and D and vice-versa.

Get Non-diag elements of D (returned in workspace) and apply or reverse permutation done in TRF.

Parameters

in
uplo

Specifies whether the details of the factorization are stored as an upper or lower triangular matrix. = ‘U’: Upper triangular, form is A = U*D*U**T; = ‘L’: Lower triangular, form is A = L*D*L**T.

in
way

= ‘C’: Convert = ‘R’: Revert

in
n

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

inout
A

Double precision array, dimension (lda, n). The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by SSYTRF.

in
lda

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

in
ipiv

Integer array, dimension (n). Details of the interchanges and the block structure of D as determined by SSYTRF.

out
E

Double precision array, dimension (n). E stores the supdiagonal/subdiagonal of the symmetric 1-by-1 or 2-by-2 block diagonal matrix D in LDLT.

out
info

  • = 0: successful exit

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

Functions

void dsyconv(
    const char*          uplo,
    const char*          way,
    const INT            n,
          f64*  restrict A,
    const INT            lda,
    const INT*  restrict ipiv,
          f64*  restrict E,
          INT*           info
);
void dsyconv(const char *uplo, const char *way, const INT n, f64 *restrict A, const INT lda, const INT *restrict ipiv, f64 *restrict E, INT *info)#

DSYCONV convert A given by TRF into L and D and vice-versa.

Get Non-diag elements of D (returned in workspace) and apply or reverse permutation done in TRF.

Parameters

in
uplo

Specifies whether the details of the factorization are stored as an upper or lower triangular matrix. = ‘U’: Upper triangular, form is A = U*D*U**T; = ‘L’: Lower triangular, form is A = L*D*L**T.

in
way

= ‘C’: Convert = ‘R’: Revert

in
n

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

inout
A

Double precision array, dimension (lda, n). The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by DSYTRF.

in
lda

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

in
ipiv

Integer array, dimension (n). Details of the interchanges and the block structure of D as determined by DSYTRF.

out
E

Double precision array, dimension (n). E stores the supdiagonal/subdiagonal of the symmetric 1-by-1 or 2-by-2 block diagonal matrix D in LDLT.

out
info

  • = 0: successful exit

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

Functions

void csyconv(
    const char*          uplo,
    const char*          way,
    const INT            n,
          c64*  restrict A,
    const INT            lda,
    const INT*  restrict ipiv,
          c64*  restrict E,
          INT*           info
);
void csyconv(const char *uplo, const char *way, const INT n, c64 *restrict A, const INT lda, const INT *restrict ipiv, c64 *restrict E, INT *info)#

CSYCONV convert A given by TRF into L and D and vice-versa.

Get Non-diag elements of D (returned in workspace) and apply or reverse permutation done in TRF.

Parameters

in
uplo

Specifies whether the details of the factorization are stored as an upper or lower triangular matrix. = ‘U’: Upper triangular, form is A = U*D*U**T; = ‘L’: Lower triangular, form is A = L*D*L**T.

in
way

= ‘C’: Convert = ‘R’: Revert

in
n

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

inout
A

Single complex array, dimension (lda, n). The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by CSYTRF.

in
lda

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

in
ipiv

Integer array, dimension (n). Details of the interchanges and the block structure of D as determined by CSYTRF.

out
E

Single complex array, dimension (n). E stores the supdiagonal/subdiagonal of the symmetric 1-by-1 or 2-by-2 block diagonal matrix D in LDLT.

out
info

  • = 0: successful exit

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

Functions

void zsyconv(
    const char*          uplo,
    const char*          way,
    const INT            n,
          c128* restrict A,
    const INT            lda,
    const INT*  restrict ipiv,
          c128* restrict E,
          INT*           info
);
void zsyconv(const char *uplo, const char *way, const INT n, c128 *restrict A, const INT lda, const INT *restrict ipiv, c128 *restrict E, INT *info)#

ZSYCONV convert A given by TRF into L and D and vice-versa.

Get Non-diag elements of D (returned in workspace) and apply or reverse permutation done in TRF.

Parameters

in
uplo

Specifies whether the details of the factorization are stored as an upper or lower triangular matrix. = ‘U’: Upper triangular, form is A = U*D*U**T; = ‘L’: Lower triangular, form is A = L*D*L**T.

in
way

= ‘C’: Convert = ‘R’: Revert

in
n

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

inout
A

Double complex array, dimension (lda, n). The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by ZSYTRF.

in
lda

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

in
ipiv

Integer array, dimension (n). Details of the interchanges and the block structure of D as determined by ZSYTRF.

out
E

Double complex array, dimension (n). E stores the supdiagonal/subdiagonal of the symmetric 1-by-1 or 2-by-2 block diagonal matrix D in LDLT.

out
info

  • = 0: successful exit

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