SLAGTM(3)
π SLAGTM(3) β Library Functions Manual
okay bestie, pull up a chair π this is the SLAGTM(3) page, and itβs giving tridiagonal matrix product but make it LAPACK. No cap, every flag and parameter is below.
π NAME
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slagtm.f
β¨ SYNOPSIS
π§ Functions/Subroutines
subroutine SLAGTM (trans, n, nrhs, alpha, dl, d, du, x, ldx, beta, b,
ldb)
SLAGTM 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 SLAGTM (character trans, integer n, integer nrhs, real alpha,
real, dimension( * ) dl, real, dimension( * ) d, real, dimension( * )
du, real, dimension( ldx, * ) x, integer ldx, real beta, real,
dimension( ldb, * ) b, integer ldb)
Same vibe as the synopsis: SLAGTM 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. π
πΈ Purpose
ok so the actual operation is:
B := alpha * A * X + beta * B
where:
Ais a tridiagonal matrix of orderNBandXareNbyNRHSmatricesalphaandbetaare real scalars, each of which may be0.,1., or-1.
Thatβs the whole main character moment. π«Ά
π¦ Parameters
TRANSβTRANSisCHARACTER*1. Specifies the operation applied toA.= 'N': No transpose,B := alpha * A * X + beta * B= 'T': Transpose,B := alpha * A'* X + beta * B= 'C': Conjugate transpose = Transpose
NβNisINTEGER. The order of the matrixA.N >= 0.NRHSβNRHSisINTEGER. The number of right hand sides, i.e., the number of columns of the matricesXandB.ALPHAβALPHAisREAL. The scalaralpha.ALPHAmust be0.,1., or-1.; otherwise, it is assumed to be0. π¨DLβDLisREALarray, dimension(N-1). The(n-1)sub-diagonal elements ofT.DβDisREALarray, dimension(N). The diagonal elements ofT.DUβDUisREALarray, dimension(N-1). The(n-1)super-diagonal elements ofT.XβXisREALarray, dimension(LDX,NRHS). TheNbyNRHSmatrixX.LDXβLDXisINTEGER. The leading dimension of the arrayX.LDX >= max(N,1).BETAβBETAisREAL. The scalarbeta.BETAmust be0.,1., or-1.; otherwise, it is assumed to be1. π¨BβBisREALarray, dimension(LDB,NRHS). On entry, theNbyNRHSmatrixB. On exit,Bis overwritten by the matrix expressionB := alpha * A * X + beta * B.LDBβLDBisINTEGER. 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 slagtm.f.
Definition at line 143 of file slagtm.f. β yes, exactly that. π«‘
π§ Author
Generated automatically by Doxygen for LAPACK from the source code.
ok bestie, thatβs the whole page π cute sign-off time: LAPACK Version 3.12.0, footer path /home/abui...RC/slagtm.f(3), and the footer doesnβt list a date β so no invented date, just vibes. ππ
π¦ 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