getrs(3)

๐Ÿ’… getrs(3) โ€” LAPACK's triangular solve bestie has entered the chat โœจ

๐ŸŒธ NAME ๐ŸŒธ

getrs โ€” getrs: triangular solve using factor. That's the name, and it ate. ๐Ÿ’…

๐ŸŽ€ SYNOPSIS ๐ŸŽ€

๐Ÿงš Functions

  • subroutine cgetrs (trans, n, nrhs, a, lda, ipiv, b, ldb, info) โ€” CGETRS
  • subroutine dgetrs (trans, n, nrhs, a, lda, ipiv, b, ldb, info) โ€” DGETRS
  • subroutine sgetrs (trans, n, nrhs, a, lda, ipiv, b, ldb, info) โ€” SGETRS
  • subroutine zgetrs (trans, n, nrhs, a, lda, ipiv, b, ldb, info) โ€” ZGETRS

๐Ÿ’– Detailed Description ๐Ÿ’–

This section is short and sweet in the source โ€” it rolls straight into Function Documentation. So consider this your lil' hallway pass, bestie: the real subroutine tea is right below. ๐Ÿซถ

๐ŸŒˆ Function Documentation ๐ŸŒˆ

๐Ÿ’ซ cgetrs โ€” CGETRS

   subroutine cgetrs (character trans, integer n, integer nrhs, complex,
       dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv,
       complex, dimension( ldb, * ) b, integer ldb, integer info)
       CGETRS

๐ŸŽฏ Purpose

CGETRS solves a system of linear equations

A * X = B,  A**T * X = B,  or  A**H * X = B

with a general N-by-N matrix A using the LU factorization computed by CGETRF. Iconic. โœจ

๐Ÿงฎ Parameters

  • TRANS โ€” CHARACTER*1. Specifies the form of the system of equations:
    • = 'N': A * X = B (No transpose)
    • = 'T': A**T * X = B (Transpose)
    • = 'C': A**H * X = B (Conjugate transpose)
  • N โ€” INTEGER. The order of the matrix A. N >= 0.
  • NRHS โ€” INTEGER. The number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0.
  • A โ€” COMPLEX array, dimension (LDA,N). The factors L and U from the factorization A = P*L*U as computed by CGETRF.
  • LDA โ€” INTEGER. The leading dimension of the array A. LDA >= max(1,N).
  • IPIV โ€” INTEGER array, dimension (N). The pivot indices from CGETRF; for 1<=i<=N, row i of the matrix was interchanged with row IPIV(i).
  • B โ€” COMPLEX array, dimension (LDB,NRHS). On entry, the right hand side matrix B. On exit, the solution matrix X.
  • LDB โ€” INTEGER. The leading dimension of the array B. LDB >= max(1,N).
  • INFO โ€” INTEGER.
    • = 0: successful exit
    • < 0: if INFO = -i, the i-th argument had an illegal value
Heads up: that INFO < 0 line means an argument was illegal โ€” don't ignore it, bestie. ๐Ÿ’€

๐Ÿซถ Author

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

๐Ÿ“ Definition

Definition at line 120 of file cgetrs.f.


๐Ÿ’ซ dgetrs โ€” DGETRS

   subroutine dgetrs (character trans, integer n, integer nrhs, double
       precision, dimension( lda, * ) a, integer lda, integer, dimension( * )
       ipiv, double precision, dimension( ldb, * ) b, integer ldb, integer
       info)
       DGETRS

๐ŸŽฏ Purpose

DGETRS solves a system of linear equations

A * X = B  or  A**T * X = B

with a general N-by-N matrix A using the LU factorization computed by DGETRF. Slay. ๐Ÿ’…

๐Ÿงฎ Parameters

  • TRANS โ€” CHARACTER*1. Specifies the form of the system of equations:
    • = 'N': A * X = B (No transpose)
    • = 'T': A**T* X = B (Transpose)
    • = 'C': A**T* X = B (Conjugate transpose = Transpose)
  • N โ€” INTEGER. The order of the matrix A. N >= 0.
  • NRHS โ€” INTEGER. The number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0.
  • A โ€” DOUBLE PRECISION array, dimension (LDA,N). The factors L and U from the factorization A = P*L*U as computed by DGETRF.
  • LDA โ€” INTEGER. The leading dimension of the array A. LDA >= max(1,N).
  • IPIV โ€” INTEGER array, dimension (N). The pivot indices from DGETRF; for 1<=i<=N, row i of the matrix was interchanged with row IPIV(i).
  • B โ€” DOUBLE PRECISION array, dimension (LDB,NRHS). On entry, the right hand side matrix B. On exit, the solution matrix X.
  • LDB โ€” INTEGER. The leading dimension of the array B. LDB >= max(1,N).
  • INFO โ€” INTEGER.
    • = 0: successful exit
    • < 0: if INFO = -i, the i-th argument had an illegal value
Heads up: same energy as above โ€” INFO < 0 is your โ€œgirl, check that argumentโ€ signal. ๐Ÿ™ˆ

๐Ÿซถ Author

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

๐Ÿ“ Definition

Definition at line 120 of file dgetrs.f.


๐Ÿ’ซ sgetrs โ€” SGETRS

   subroutine sgetrs (character trans, integer n, integer nrhs, real,
       dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, real,
       dimension( ldb, * ) b, integer ldb, integer info)
       SGETRS

๐ŸŽฏ Purpose

SGETRS solves a system of linear equations

A * X = B  or  A**T * X = B

with a general N-by-N matrix A using the LU factorization computed by SGETRF. Obsessed. ๐Ÿซถ

๐Ÿงฎ Parameters

  • TRANS โ€” CHARACTER*1. Specifies the form of the system of equations:
    • = 'N': A * X = B (No transpose)
    • = 'T': A**T* X = B (Transpose)
    • = 'C': A**T* X = B (Conjugate transpose = Transpose)
  • N โ€” INTEGER. The order of the matrix A. N >= 0.
  • NRHS โ€” INTEGER. The number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0.
  • A โ€” REAL array, dimension (LDA,N). The factors L and U from the factorization A = P*L*U as computed by SGETRF.
  • LDA โ€” INTEGER. The leading dimension of the array A. LDA >= max(1,N).
  • IPIV โ€” INTEGER array, dimension (N). The pivot indices from SGETRF; for 1<=i<=N, row i of the matrix was interchanged with row IPIV(i).
  • B โ€” REAL array, dimension (LDB,NRHS). On entry, the right hand side matrix B. On exit, the solution matrix X.
  • LDB โ€” INTEGER. The leading dimension of the array B. LDB >= max(1,N).
  • INFO โ€” INTEGER.
    • = 0: successful exit
    • < 0: if INFO = -i, the i-th argument had an illegal value
Heads up: INFO < 0 is not a vibe โ€” it literally means an argument had an illegal value. ๐Ÿ˜ญ

๐Ÿซถ Author

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

๐Ÿ“ Definition

Definition at line 120 of file sgetrs.f.


๐Ÿ’ซ zgetrs โ€” ZGETRS

   subroutine zgetrs (character trans, integer n, integer nrhs, complex*16,
       dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv,
       complex*16, dimension( ldb, * ) b, integer ldb, integer info)
       ZGETRS

๐ŸŽฏ Purpose

ZGETRS solves a system of linear equations

A * X = B,  A**T * X = B,  or  A**H * X = B

with a general N-by-N matrix A using the LU factorization computed by ZGETRF. Main character subroutine behavior. ๐Ÿ‘‘โœจ

๐Ÿงฎ Parameters

  • TRANS โ€” CHARACTER*1. Specifies the form of the system of equations:
    • = 'N': A * X = B (No transpose)
    • = 'T': A**T * X = B (Transpose)
    • = 'C': A**H * X = B (Conjugate transpose)
  • N โ€” INTEGER. The order of the matrix A. N >= 0.
  • NRHS โ€” INTEGER. The number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0.
  • A โ€” COMPLEX*16 array, dimension (LDA,N). The factors L and U from the factorization A = P*L*U as computed by ZGETRF.
  • LDA โ€” INTEGER. The leading dimension of the array A. LDA >= max(1,N).
  • IPIV โ€” INTEGER array, dimension (N). The pivot indices from ZGETRF; for 1<=i<=N, row i of the matrix was interchanged with row IPIV(i).
  • B โ€” COMPLEX*16 array, dimension (LDB,NRHS). On entry, the right hand side matrix B. On exit, the solution matrix X.
  • LDB โ€” INTEGER. The leading dimension of the array B. LDB >= max(1,N).
  • INFO โ€” INTEGER.
    • = 0: successful exit
    • < 0: if INFO = -i, the i-th argument had an illegal value
Heads up: INFO < 0 means an illegal argument โ€” address it, bestie, no cap. ๐Ÿ’€

๐Ÿซถ Author

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

๐Ÿ“ Definition

Definition at line 120 of file zgetrs.f.


๐Ÿ“œ Author

Generated automatically by Doxygen for LAPACK from the source code.


That's the whole getrs(3) page, bestie โ€” brought to you by LAPACK, Version 3.12.0, and the footer tag getrs(3). Stay slaying those triangular solves. ๐Ÿ’–โœจ

๐Ÿ“ฆ where this page comes from