SLAGTS(3)
π SLAGTS(3) β okay bestie, let's get into it π
This is the SLAGTS(3) page from the Library Functions Manual, with header path /home/abui...RC/slagts.f(3) doing its little main-character repeat situation. No cap, we're covering every single detail. π«Ά
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slagts.f β that's it. That's the whole NAME section. Not me being dramatic, that's literally the path. π
πΈ SYNOPSIS πΈ
π§ Functions/Subroutines
subroutine SLAGTS (job, n, a, b, c, d, in, y, tol, info)
SLAGTS solves the system of equations (T-Ξ»I)x = y or (T-Ξ»I)^Tx = y,
where T is a general tridiagonal matrix and Ξ» a scalar, using the LU
factorization computed by slagtf.
π¦ Function/Subroutine Documentation π¦
subroutine SLAGTS (integer job, integer n, real, dimension( * ) a, real,
dimension( * ) b, real, dimension( * ) c, real, dimension( * ) d,
integer, dimension( * ) in, real, dimension( * ) y, real tol, integer
info)
SLAGTS solves the system of equations (T-Ξ»I)x = y or (T-Ξ»I)^Tx = y, where T is a general tridiagonal matrix and Ξ» a scalar, using the LU factorization computed by slagtf.
π Purpose π
okay so, SLAGTS may be used to solve one of the systems of equations
(T - lambda*I)*x = y or (T - lambda*I)**T*x = y,
where T is an n by n tridiagonal matrix, for x, following the factorization of (T - lambda*I) as
(T - lambda*I) = P*L*U ,
by routine SLAGTF. The choice of equation to be solved is controlled by the argument JOB, and in each case there is an option to perturb zero or very small diagonal elements of U, this option being intended for use in applications such as inverse iteration. β¨
π Parameters π
JOBβJOB is INTEGER. Specifies the job to be performed bySLAGTSas follows:= 1β The equations(T - lambda*I)x = yare to be solved, but diagonal elements ofUare not to be perturbed.= -1β The equations(T - lambda*I)x = yare to be solved and, if overflow would otherwise occur, the diagonal elements ofUare to be perturbed. See argumentTOLbelow.= 2β The equations(T - lambda*I)**Tx = yare to be solved, but diagonal elements ofUare not to be perturbed.= -2β The equations(T - lambda*I)**Tx = yare to be solved and, if overflow would otherwise occur, the diagonal elements ofUare to be perturbed. See argumentTOLbelow.
NβN is INTEGER. The order of the matrixT.AβA is REAL array, dimension (N). On entry,Amust contain the diagonal elements ofUas returned fromSLAGTF.BβB is REAL array, dimension (N-1). On entry,Bmust contain the first super-diagonal elements ofUas returned fromSLAGTF.CβC is REAL array, dimension (N-1). On entry,Cmust contain the sub-diagonal elements ofLas returned fromSLAGTF.DβD is REAL array, dimension (N-2). On entry,Dmust contain the second super-diagonal elements ofUas returned fromSLAGTF.INβIN is INTEGER array, dimension (N). On entry,INmust contain details of the matrixPas returned fromSLAGTF.YβY is REAL array, dimension (N). On entry, the right hand side vectory. On exit,Yis overwritten by the solution vectorx.TOLβTOL is REAL. On entry, withJOB < 0,TOLshould be the minimum perturbation to be made to very small diagonal elements ofU.TOLshould normally be chosen as abouteps*norm(U), whereepsis the relative machine precision, but ifTOLis supplied as non-positive, then it is reset toeps*max( abs( u(i,j) ) ). IfJOB > 0thenTOLis not referenced. On exit,TOLis changed as described above, only ifTOLis non-positive on entry. OtherwiseTOLis unchanged.INFOβINFO is INTEGER.= 0β successful exit.< 0β ifINFO = -i, thei-th argument had an illegal value.> 0β overflow would occur when computing theINFO(th)element of the solution vectorx. This can only occur whenJOBis supplied as positive and either means that a diagonal element ofUis very small, or that the elements of the right-hand side vectoryare very large.
π Author π
the author squad is, in order:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 162 of file slagts.f.
π€ Author (auto-generated edition) π€
Generated automatically by Doxygen for LAPACK from the source code.
mwah π β final sign-off: LAPACK, Version 3.12.0, footer path /home/abui...RC/slagts.f(3), and yes bestie, generated automatically by Doxygen for LAPACK from the source code. periodt. π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms