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

  • '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

Array of 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

Array of dimension n. Details of the interchanges and the block structure of D as determined by ssytrf.

out
E

Array of 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

  • info=0: successful exit

  • info<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

  • '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

Array of 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

Array of dimension n. Details of the interchanges and the block structure of D as determined by dsytrf.

out
E

Array of 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

  • info=0: successful exit

  • info<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

  • '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

Complex array of 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

Array of dimension n. Details of the interchanges and the block structure of D as determined by csytrf.

out
E

Complex array of 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

  • info=0: successful exit

  • info<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

  • '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

Complex array of 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

Array of dimension n. Details of the interchanges and the block structure of D as determined by zsytrf.

out
E

Complex array of 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

  • info=0: successful exit

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