ZLAPTM(3)
β¨ ZLAPTM(3): the tridiagonal bestie edition β¨
okay so you're in the Library Functions Manual, and the main character is ZLAPTM(3) β a LAPACK subroutine with big βI multiply matrices and look cute doing itβ energy. π
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zlaptm.f
That's the file, bestie. It gives you ZLAPTM, which multiplies an N by NRHS matrix X by a Hermitian tridiagonal matrix A and stores the result in a matrix B. The whole vibe is:
B := alpha * A * X + beta * B
π SYNOPSIS π
π§Έ Functions/Subroutines π§Έ
subroutine ZLAPTM (uplo, n, nrhs, alpha, d, e, x, ldx, beta, b, ldb)
ZLAPTM
π¦ Function/Subroutine Documentation π¦
β subroutine ZLAPTM β
subroutine ZLAPTM (character uplo, integer n, integer nrhs, double precision
alpha, double precision, dimension( * ) d, complex*16, dimension( * ) e,
complex*16, dimension( ldx, * ) x, integer ldx, double precision beta,
complex*16, dimension( ldb, * ) b, integer ldb)
ZLAPTM
π Purpose π
ZLAPTM multiplies an N by NRHS matrix X by a Hermitian tridiagonal matrix A and stores the result in a matrix B. The operation has the form:
B := alpha * A * X + beta * B
where alpha may be either 1. or -1. and beta may be 0., 1., or -1. periodt. β¨
π Parameters π
UPLOβCHARACTER. Tells us whether the superdiagonal or the subdiagonal of the tridiagonal matrixAis stored.= 'U': upper, soEis the superdiagonal ofA.= 'L': lower, soEis the subdiagonal ofA.
NβINTEGER. The order of the matrixA. Must beN >= 0. no negative-order chaos allowed, bestie.NRHSβINTEGER. The number of right hand sides, i.e., the number of columns of the matricesXandB.ALPHAβDOUBLE PRECISION. The scalaralpha.ALPHAmust be1.or-1.; otherwise, it is assumed to be0. not me if you pass something else β it's getting treated like zero. πDβDOUBLE PRECISIONarray, dimension(N). Thendiagonal elements of the tridiagonal matrixA.EβCOMPLEX*16array, dimension(N-1). The(n-1)subdiagonal or superdiagonal elements ofA.XβCOMPLEX*16array, dimension(LDX,NRHS). TheNbyNRHSmatrixX.LDXβINTEGER. The leading dimension of the arrayX. Must beLDX >= max(N,1).BETAβDOUBLE PRECISION. The scalarbeta.BETAmust be0.,1., or-1.; otherwise, it is assumed to be1. so if you're not on one of those three, the routine lowkey assumes1.πBβCOMPLEX*16array, dimension(LDB,NRHS). On entry, theNbyNRHSmatrixB. On exit,Bis overwritten by the matrix expressionB := alpha * A * X + beta * B. she came, she saw, she overwrote. πLDBβINTEGER. The leading dimension of the arrayB. Must beLDB >= max(N,1).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 127 of file zlaptm.f.
πΈ Author πΈ
Generated automatically by Doxygen for LAPACK from the source code.
okay bye bestie π β this iconic little page is LAPACK Version 3.12.0 from /home/abui...IN/zlaptm.f(3), and the footer doesn't list a separate date, so that's the whole cute sign-off. slay, compile, and may your leading dimensions always be valid. π
β¨
π¦ 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