gesc2(3)

okay bestie, welcome to gesc2(3) from the Library Functions Manual β€” we're doing LAPACK triangular-solve-with-complete-pivoting tea today and it's honestly giving solver icon energy βœ¨πŸ’…

🌸 NAME 🌸

gesc2 β€” gesc2: triangular solve using factor, with complete pivoting

πŸ¦‹ SYNOPSIS πŸ¦‹

πŸ’… Functions

The whole squad is here β€” signatures first, then the one-line tea:

subroutine cgesc2 (n, a, lda, rhs, ipiv, jpiv, scale)
subroutine dgesc2 (n, a, lda, rhs, ipiv, jpiv, scale)
subroutine sgesc2 (n, a, lda, rhs, ipiv, jpiv, scale)
subroutine zgesc2 (n, a, lda, rhs, ipiv, jpiv, scale)
  • cgesc2 β€” CGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2. (yes, the synopsis literally says sgetc2, lowercase s and all β€” I'm not fixing it, bestie 😭)
  • dgesc2 β€” DGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2.
  • sgesc2 β€” SGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2.
  • zgesc2 β€” ZGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2.

🌈 Detailed Description 🌈

There's no extra prose hidden here β€” the detailed description is basically the runway to the function docs below. Scroll with me, bestie πŸ’…

πŸŽ€ Function Documentation πŸŽ€

πŸ’– cgesc2 πŸ’–

Top-line description: CGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2. The Purpose block below says CGETC2 β€” both are in the original, keep both, no cap πŸ’…

subroutine cgesc2 (integer n, complex, dimension( lda, * ) a, integer lda,
       complex, dimension( * ) rhs, integer, dimension( * ) ipiv, integer,
       dimension( * ) jpiv, real scale)

✨ Purpose

!>
!> CGESC2 solves a system of linear equations
!>
!>           A * X = scale* RHS
!>
!> with a general N-by-N matrix A using the LU factorization with
!> complete pivoting computed by CGETC2.
!>
!>

πŸŽ€ Parameters

  • N β€” N is INTEGER. The number of columns of the matrix A.
  • A β€” A is COMPLEX array, dimension (LDA, N). On entry, the LU part of the factorization of the n-by-n matrix A computed by CGETC2: A = P * L * U * Q.
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1, N).
  • RHS β€” RHS is COMPLEX array, dimension N. On entry, the right hand side vector b. On exit, the solution vector X.
  • IPIV β€” IPIV is INTEGER array, dimension (N). The pivot indices; for 1 <= i <= N, row i of the matrix has been interchanged with row IPIV(i).
  • JPIV β€” JPIV is INTEGER array, dimension (N). The pivot indices; for 1 <= j <= N, column j of the matrix has been interchanged with column JPIV(j).
  • SCALE β€” SCALE is REAL. On exit, SCALE contains the scale factor. SCALE is chosen 0 <= SCALE <= 1 to prevent overflow in the solution.

🌟 Author

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

🫢 Contributors:

Bo Kagstrom and Peter Poromaa, Department of Computing Science, Umea University, S-901 87 Umea, Sweden.

Definition at line 114 of file cgesc2.f.


πŸ’œ dgesc2 πŸ’œ

Top-line description: DGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2. Purpose block says DGETC2 β€” both facts stay, bestie ✨

subroutine dgesc2 (integer n, double precision, dimension( lda, * ) a,
       integer lda, double precision, dimension( * ) rhs, integer, dimension( *
       ) ipiv, integer, dimension( * ) jpiv, double precision scale)

✨ Purpose

!>
!> DGESC2 solves a system of linear equations
!>
!>           A * X = scale* RHS
!>
!> with a general N-by-N matrix A using the LU factorization with
!> complete pivoting computed by DGETC2.
!>

πŸŽ€ Parameters

  • N β€” N is INTEGER. The order of the matrix A.
  • A β€” A is DOUBLE PRECISION array, dimension (LDA,N). On entry, the LU part of the factorization of the n-by-n matrix A computed by DGETC2: A = P * L * U * Q.
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1, N).
  • RHS β€” RHS is DOUBLE PRECISION array, dimension (N). On entry, the right hand side vector b. On exit, the solution vector X.
  • IPIV β€” IPIV is INTEGER array, dimension (N). The pivot indices; for 1 <= i <= N, row i of the matrix has been interchanged with row IPIV(i).
  • JPIV β€” JPIV is INTEGER array, dimension (N). The pivot indices; for 1 <= j <= N, column j of the matrix has been interchanged with column JPIV(j).
  • SCALE β€” SCALE is DOUBLE PRECISION. On exit, SCALE contains the scale factor. SCALE is chosen 0 <= SCALE <= 1 to prevent overflow in the solution.

🌟 Author

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

🫢 Contributors:

Bo Kagstrom and Peter Poromaa, Department of Computing Science, Umea University, S-901 87 Umea, Sweden.

Definition at line 113 of file dgesc2.f.


πŸ’š sgesc2 πŸ’š

Top-line description: SGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2. Purpose block says SGETC2 β€” yes, keep both, periodt πŸ’…

subroutine sgesc2 (integer n, real, dimension( lda, * ) a, integer lda,
       real, dimension( * ) rhs, integer, dimension( * ) ipiv, integer,
       dimension( * ) jpiv, real scale)

✨ Purpose

!>
!> SGESC2 solves a system of linear equations
!>
!>           A * X = scale* RHS
!>
!> with a general N-by-N matrix A using the LU factorization with
!> complete pivoting computed by SGETC2.
!>

πŸŽ€ Parameters

  • N β€” N is INTEGER. The order of the matrix A.
  • A β€” A is REAL array, dimension (LDA,N). On entry, the LU part of the factorization of the n-by-n matrix A computed by SGETC2: A = P * L * U * Q.
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1, N).
  • RHS β€” RHS is REAL array, dimension (N). On entry, the right hand side vector b. On exit, the solution vector X.
  • IPIV β€” IPIV is INTEGER array, dimension (N). The pivot indices; for 1 <= i <= N, row i of the matrix has been interchanged with row IPIV(i).
  • JPIV β€” JPIV is INTEGER array, dimension (N). The pivot indices; for 1 <= j <= N, column j of the matrix has been interchanged with column JPIV(j).
  • SCALE β€” SCALE is REAL. On exit, SCALE contains the scale factor. SCALE is chosen 0 <= SCALE <= 1 to prevent overflow in the solution.

🌟 Author

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

🫢 Contributors:

Bo Kagstrom and Peter Poromaa, Department of Computing Science, Umea University, S-901 87 Umea, Sweden.

Definition at line 113 of file sgesc2.f.


πŸ’™ zgesc2 πŸ’™

Top-line description: ZGESC2 solves a system of linear equations using the LU factorization with complete pivoting computed by sgetc2. Purpose block says ZGETC2 β€” both are literally in the page, bestie 🫢

subroutine zgesc2 (integer n, complex*16, dimension( lda, * ) a, integer
       lda, complex*16, dimension( * ) rhs, integer, dimension( * ) ipiv,
       integer, dimension( * ) jpiv, double precision scale)

✨ Purpose

!>
!> ZGESC2 solves a system of linear equations
!>
!>           A * X = scale* RHS
!>
!> with a general N-by-N matrix A using the LU factorization with
!> complete pivoting computed by ZGETC2.
!>
!>

πŸŽ€ Parameters

  • N β€” N is INTEGER. The number of columns of the matrix A.
  • A β€” A is COMPLEX*16 array, dimension (LDA, N). On entry, the LU part of the factorization of the n-by-n matrix A computed by ZGETC2: A = P * L * U * Q.
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1, N).
  • RHS β€” RHS is COMPLEX*16 array, dimension N. On entry, the right hand side vector b. On exit, the solution vector X.
  • IPIV β€” IPIV is INTEGER array, dimension (N). The pivot indices; for 1 <= i <= N, row i of the matrix has been interchanged with row IPIV(i).
  • JPIV β€” JPIV is INTEGER array, dimension (N). The pivot indices; for 1 <= j <= N, column j of the matrix has been interchanged with column JPIV(j).
  • SCALE β€” SCALE is DOUBLE PRECISION. On exit, SCALE contains the scale factor. SCALE is chosen 0 <= SCALE <= 1 to prevent overflow in the solution.

🌟 Author

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

🫢 Contributors:

Bo Kagstrom and Peter Poromaa, Department of Computing Science, Umea University, S-901 87 Umea, Sweden.

Definition at line 114 of file zgesc2.f.


🌟 Author 🌟

Generated automatically by Doxygen for LAPACK from the source code.

xoxo bestie πŸ’– β€” gesc2(3) from LAPACK Version 3.12.0. The footer's date slot isn't filled in here, so we're not inventing one. slay. πŸ’…

πŸ“¦ where this page comes from