sytrs2#

Functions

void ssytrs2(
    const char*          uplo,
    const INT            n,
    const INT            nrhs,
          f32*  restrict A,
    const INT            lda,
    const INT*  restrict ipiv,
          f32*  restrict B,
    const INT            ldb,
          f32*  restrict work,
          INT*           info
);
void ssytrs2(const char *uplo, const INT n, const INT nrhs, f32 *restrict A, const INT lda, const INT *restrict ipiv, f32 *restrict B, const INT ldb, f32 *restrict work, INT *info)#

SSYTRS2 solves a system of linear equations A*X = B with a real symmetric matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by SSYTRF and converted by SSYCONV.

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
n

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

in
nrhs

The number of right hand sides. nrhs >= 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. Note that A is input/output. At the start of the subroutine, we permute A in a “better” form and then permute A back to its original form at the end.

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.

inout
B

Double precision array, dimension (ldb, nrhs). On entry, the right hand side matrix B. On exit, the solution matrix X.

in
ldb

The leading dimension of the array B. ldb >= max(1,n).

out
work

Double precision array, dimension (n).

out
info

  • = 0: successful exit

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

Functions

void dsytrs2(
    const char*          uplo,
    const INT            n,
    const INT            nrhs,
          f64*  restrict A,
    const INT            lda,
    const INT*  restrict ipiv,
          f64*  restrict B,
    const INT            ldb,
          f64*  restrict work,
          INT*           info
);
void dsytrs2(const char *uplo, const INT n, const INT nrhs, f64 *restrict A, const INT lda, const INT *restrict ipiv, f64 *restrict B, const INT ldb, f64 *restrict work, INT *info)#

DSYTRS2 solves a system of linear equations A*X = B with a real symmetric matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF and converted by DSYCONV.

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
n

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

in
nrhs

The number of right hand sides. nrhs >= 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. Note that A is input/output. At the start of the subroutine, we permute A in a “better” form and then permute A back to its original form at the end.

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.

inout
B

Double precision array, dimension (ldb, nrhs). On entry, the right hand side matrix B. On exit, the solution matrix X.

in
ldb

The leading dimension of the array B. ldb >= max(1,n).

out
work

Double precision array, dimension (n).

out
info

  • = 0: successful exit

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

Functions

void csytrs2(
    const char*          uplo,
    const INT            n,
    const INT            nrhs,
          c64*  restrict A,
    const INT            lda,
    const INT*  restrict ipiv,
          c64*  restrict B,
    const INT            ldb,
          c64*  restrict work,
          INT*           info
);
void csytrs2(const char *uplo, const INT n, const INT nrhs, c64 *restrict A, const INT lda, const INT *restrict ipiv, c64 *restrict B, const INT ldb, c64 *restrict work, INT *info)#

CSYTRS2 solves a system of linear equations A*X = B with a complex symmetric matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by CSYTRF and converted by CSYCONV.

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
n

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

in
nrhs

The number of right hand sides. nrhs >= 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. Note that A is input/output. At the start of the subroutine, we permute A in a “better” form and then permute A back to its original form at the end.

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.

inout
B

Single complex array, dimension (ldb, nrhs). On entry, the right hand side matrix B. On exit, the solution matrix X.

in
ldb

The leading dimension of the array B. ldb >= max(1,n).

out
work

Single complex array, dimension (n).

out
info

  • = 0: successful exit

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

Functions

void zsytrs2(
    const char*          uplo,
    const INT            n,
    const INT            nrhs,
          c128* restrict A,
    const INT            lda,
    const INT*  restrict ipiv,
          c128* restrict B,
    const INT            ldb,
          c128* restrict work,
          INT*           info
);
void zsytrs2(const char *uplo, const INT n, const INT nrhs, c128 *restrict A, const INT lda, const INT *restrict ipiv, c128 *restrict B, const INT ldb, c128 *restrict work, INT *info)#

ZSYTRS2 solves a system of linear equations A*X = B with a complex symmetric matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by ZSYTRF and converted by ZSYCONV.

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
n

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

in
nrhs

The number of right hand sides. nrhs >= 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. Note that A is input/output. At the start of the subroutine, we permute A in a “better” form and then permute A back to its original form at the end.

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.

inout
B

Double complex array, dimension (ldb, nrhs). On entry, the right hand side matrix B. On exit, the solution matrix X.

in
ldb

The leading dimension of the array B. ldb >= max(1,n).

out
work

Double complex array, dimension (n).

out
info

  • = 0: successful exit

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