DLAGTS(3)
π DLAGTS(3) β Library Functions Manual π
okay bestie, welcome to the Library Functions Manual page for DLAGTS(3). this is the whole solve-a-tridiagonal-system vibe, and yes, we're getting into every single detail. π«Ά
NAME π
the NAME is literally this path, character for character:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlagts.f
SYNOPSIS β¨
Functions/Subroutines
subroutine DLAGTS (job, n, a, b, c, d, in, y, tol, info)
DLAGTS 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 DLAGTS
subroutine DLAGTS (integer job, integer n, double precision, dimension( * ) a, double precision, dimension( * ) b, double precision, dimension( * ) c, double precision, dimension( * ) d, integer, dimension( * ) in, double precision, dimension( * ) y, double precision tol, integer info)
DLAGTS 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 DLAGTS may be used to solve one of these systems of equations, bestie:
(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 DLAGTF. 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. It specifies the job to be performed byDLAGTSas 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 DOUBLE PRECISION array, dimension (N). On entry,Amust contain the diagonal elements ofUas returned fromDLAGTF. - B β
B is DOUBLE PRECISION array, dimension (N-1). On entry,Bmust contain the first super-diagonal elements ofUas returned fromDLAGTF. - C β
C is DOUBLE PRECISION array, dimension (N-1). On entry,Cmust contain the sub-diagonal elements ofLas returned fromDLAGTF. - D β
D is DOUBLE PRECISION array, dimension (N-2). On entry,Dmust contain the second super-diagonal elements ofUas returned fromDLAGTF. - IN β
IN is INTEGER array, dimension (N). On entry,INmust contain details of the matrixPas returned fromDLAGTF. - Y β
Y is DOUBLE PRECISION array, dimension (N). On entry, the right hand side vectory. On exit,Yis overwritten by the solution vectorx. - TOL β
TOL is DOUBLE PRECISION. 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, the i-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
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 162 of file dlagts.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
π that's the whole page, bestie. cute footer sign-off: LAPACK, Version 3.12.0, and the footer path /home/abui...RC/dlagts.f(3) β source/version/date vibes, 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