SRC/dsytrs2.f(3)

okay bestie, welcome to SRC/dsytrs2.f(3) from the Library Functions Manual β€” this is the page where LAPACK’s symmetric-solve subroutine gets its main character moment, and it ate. ✨

✨ NAME ✨

SRC/dsytrs2.f β€” that’s the file/page name, periodt. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

πŸ¦‹ Functions/Subroutines πŸ¦‹

subroutine dsytrs2 (uplo, n, nrhs, a, lda, ipiv, b, ldb, work, info)
           DSYTRS2

🌸 Function/Subroutine Documentation 🌸

πŸ’– subroutine dsytrs2 πŸ’–

subroutine dsytrs2 (character uplo, integer n, integer nrhs, double
     precision, dimension( lda, * ) a, integer lda, integer, dimension( * )
     ipiv, double precision, dimension( ldb, * ) b, integer ldb, double
     precision, dimension( * ) work, integer info)
     DSYTRS2

πŸ’œ Purpose πŸ’œ

okay so 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. slay. ✨


πŸ“ Parameters πŸ“

🌈 UPLO 🌈

  • UPLO is CHARACTER*1 β€” 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.

πŸŽ€ N πŸŽ€

  • N is INTEGER β€” the order of the matrix A. N >= 0.

πŸ¦‹ NRHS πŸ¦‹

  • NRHS is INTEGER β€” the number of right hand sides, i.e. the number of columns of the matrix B. NRHS >= 0.

πŸ’– A πŸ’–

  • A is 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. This might be counter-intuitive, and one may think that A is input only. A is input/output. This is because, at the start of the subroutine, we permute A in a form and then we permute A back to its original form at the end. πŸ™ˆ

⭐ LDA ⭐

  • LDA is INTEGER β€” the leading dimension of the array A. LDA >= max(1,N).

🧚 IPIV 🧚

  • IPIV is INTEGER array, dimension (N) β€” details of the interchanges and the block structure of D as determined by DSYTRF.

πŸ“ B πŸ“

  • B is DOUBLE PRECISION array, dimension (LDB,NRHS) β€” on entry, the right hand side matrix B. On exit, the solution matrix X.

πŸ’œ LDB πŸ’œ

  • LDB is INTEGER β€” the leading dimension of the array B. LDB >= max(1,N).

🌸 WORK 🌸

  • WORK is DOUBLE PRECISION array, dimension (N).

πŸ”₯ INFO πŸ”₯

  • INFO is INTEGER
  • = 0: successful exit
  • < 0: if INFO = -i, the i-th argument had an illegal value

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Definition at line 130 of file dsytrs2.f.

🫢 Author 🫢

Generated automatically by Doxygen for LAPACK from the source code.


and that’s the tea, bestie: this cutie is LAPACK, Version 3.12.0, and the page is SRC/dsytrs2.f(3). mwah πŸ’…βœ¨

πŸ“¦ where this page comes from