SRC/zlagtm.f(3)
πΈ NAME πΈ
hey bestie π this is SRC/zlagtm.f(3) from the Library Functions Manual β the LAPACK page for ZLAGTM, and she is serving tridiagonal matrix-matrix realness, no cap β¨
SRC/zlagtm.f
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines π«Ά
subroutine zlagtm (trans, n, nrhs, alpha, dl, d, du, x, ldx, beta, b, ldb)
okay so quick vibe check: ZLAGTM performs a matrix-matrix product of the form C = Ξ±AB+Ξ²C, where A is a tridiagonal matrix, B and C are rectangular matrices, and Ξ± and Ξ² are scalars, which may be 0, 1, or -1. π
π Function/Subroutine Documentation π
π subroutine zlagtm π
subroutine zlagtm (character trans, integer n, integer nrhs, double
precision alpha, complex*16, dimension( * ) dl, complex*16, dimension( *
) d, complex*16, dimension( * ) du, complex*16, dimension( ldx, * ) x,
integer ldx, double precision beta, complex*16, dimension( ldb, * ) b,
integer ldb)
ZLAGTM performs a matrix-matrix product of the form C = Ξ±AB+Ξ²C, where A is a tridiagonal matrix, B and C are rectangular matrices, and Ξ± and Ξ² are scalars, which may be 0, 1, or -1. literally the whole moment π«Ά
π¦ Purpose π¦
okay so the purpose is, literally:
B := alpha * A * X + beta * B
where A is a tridiagonal matrix of order N, B and X are N by NRHS matrices, and alpha and beta are real scalars, each of which may be 0., 1., or -1. β¨
π Parameters π
TRANSβTRANS is CHARACTER*1. Specifies the operation applied toA.= 'N': No transpose,B := alpha * A * X + beta * B= 'T': Transpose,B := alpha * A**T * X + beta * B= 'C': Conjugate transpose,B := alpha * A**H * X + beta * B
NβN is INTEGER. The order of the matrixA.N >= 0.NRHSβNRHS is INTEGER. The number of right hand sides, i.e., the number of columns of the matricesXandB.ALPHAβALPHA is DOUBLE PRECISION. The scalaralpha.ALPHAmust be0.,1., or-1.; otherwise, it is assumed to be0.DLβDL is COMPLEX*16 array, dimension (N-1). The(n-1)sub-diagonal elements ofT.DβD is COMPLEX*16 array, dimension (N). The diagonal elements ofT.DUβDU is COMPLEX*16 array, dimension (N-1). The(n-1)super-diagonal elements ofT.XβX is COMPLEX*16 array, dimension (LDX,NRHS). TheNbyNRHSmatrixX.LDXβLDX is INTEGER. The leading dimension of the arrayX.LDX >= max(N,1).BETAβBETA is DOUBLE PRECISION. The scalarbeta.BETAmust be0.,1., or-1.; otherwise, it is assumed to be1.BβB is COMPLEX*16 array, dimension (LDB,NRHS). On entry, theNbyNRHSmatrixB. On exit,Bis overwritten by the matrix expressionB := alpha * A * X + beta * B.LDBβLDB is INTEGER. The leading dimension of the arrayB.LDB >= max(N,1).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 143 of file zlagtm.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
bye bestie π«Ά the footer says LAPACK Version 3.12.0 and points at SRC/zlagtm.f(3) β thereβs no date printed there, so Iβm not inventing one, periodt π
π
π¦ 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