SRC/cgbtrs.f(3)
β¨ NAME β¨
SRC/cgbtrs.f β bestie, this is the manpage for SRC/cgbtrs.f, and honestly? She's a whole legend. π
π SYNOPSIS π
Functions/Subroutines
subroutine cgbtrs (trans, n, kl, ku, nrhs, ab, ldab, ipiv, b, ldb, info)β the icon herself,CGBTRS
Function/Subroutine Documentation
okay so here's the full signature, no cap, exactly as written:
subroutine cgbtrs (character trans, integer n, integer kl, integer ku,
integer nrhs, complex, dimension( ldab, * ) ab, integer ldab, integer,
dimension( * ) ipiv, complex, dimension( ldb, * ) b, integer ldb,
integer info)
CGBTRS π«Ά
π Purpose
!> !> CGBTRS solves a system of linear equations !> A * X = B, AT * X = B, or AH * X = B !> with a general band matrix A using the LU factorization computed !> by CGBTRF. !>
So like, it solves your linear system β three different flavors of it, depending on TRANS β for a general band matrix A, and it does it using the LU factorization that CGBTRF already computed for you. she's not doing the hard work from scratch, she's building on what CGBTRF left her. teamwork, periodt. π
πΈ Parameters
TRANSβTRANS is CHARACTER*1, and it specifies the form of the system of equations, like which version of the equation we're solving:= 'N':A * X = B(No transpose) β the straightforward one, main character energy β= 'T':A**T * X = B(Transpose)= 'C':A**H * X = B(Conjugate transpose)
NβN is INTEGER, the order of the matrixA. Constraint:N >= 0. πKLβKL is INTEGER, the number of subdiagonals within the band ofA. Constraint:KL >= 0.KUβKU is INTEGER, the number of superdiagonals within the band ofA. Constraint:KU >= 0.NRHSβNRHS is INTEGER, the number of right hand sides, i.e., the number of columns of the matrixB. Constraint:NRHS >= 0. (right hand sides are literally the moment, yk?)ABβAB is COMPLEX array, dimension (LDAB,N). This is where the details of the LU factorization of the band matrixAlive, as computed byCGBTRF.Uis stored as an upper triangular band matrix withKL+KUsuperdiagonals in rows1toKL+KU+1, and the multipliers used during the factorization are stored in rowsKL+KU+2to2*KL+KU+1. weird layout? yes. iconic? also yes. πLDABβLDAB is INTEGER, the leading dimension of the arrayAB. Constraint:LDAB >= 2*KL+KU+1.IPIVβIPIV is INTEGER array, dimension (N), the pivot indices; for1 <= i <= N, rowiof the matrix was interchanged with rowIPIV(i). she remembers every swap, fr fr π¦BβB is COMPLEX array, dimension (LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX. glow-up in real time β¨LDBβLDB is INTEGER, the leading dimension of the arrayB. Constraint:LDB >= max(1,N).INFOβINFO is INTEGER, the vibe check:= 0: successful exit π< 0: ifINFO = -i, thei-th argument had an illegal value π
π§ Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
β Definition at line 136 of file cgbtrs.f.
π₯ Author π₯
Generated automatically by Doxygen for LAPACK from the source code. (she was literally born in a build script, and she still ate. π)
ok that's the whole page bestie, go solve some banded systems responsibly π«Ά
LAPACK, Version 3.12.0 β that's the flex, and SRC/cgbtrs.f(3) is the whole entire address. mwah ππ
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms