SLAPTM(3)
π SLAPTM(3) β like, the tridiagonal girlie of LAPACK
okay so bestie, before we even start: this page lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/slaptm.f β that's the whole NAME situation, it's a Fortran file path and honestly? iconic of it. This is the slaptm.f(3) manual page from LAPACK, and we're gonna walk through it together, no cap. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine SLAPTM (n, nrhs, alpha, d, e, x, ldx, beta, b, ldb)β like, this is her. This is the whole subroutine. SLAPTM. π
π¦ Function/Subroutine Documentation π¦
subroutine SLAPTM (integer n, integer nrhs, real alpha, real, dimension( * )
d, real, dimension( * ) e, real, dimension( ldx, * ) x, integer ldx,
real beta, real, dimension( ldb, * ) b, integer ldb)
SLAPTM. that's her name, that's her whole brand. β¨
πΈ Purpose πΈ
okay so here's the vibe:
!>
!> SLAPTM multiplies an N by NRHS matrix X by a symmetric 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.
!>
so she takes your N by NRHS matrix X, multiplies it by a symmetric tridiagonal matrix A, and drops the result into matrix B. the operation goes B := alpha * A * X + beta * B, and bestie, listen β alpha may only be 1. or -1., and beta may only be 0., 1., or -1. That's the whole assignment, periodt. π
π Parameters
NβN is INTEGER. it's the order of the matrixA, and the rule isN >= 0. fr fr, no negativity allowed here. πNRHSβNRHS is INTEGER. the number of right hand sides, aka the number of columns of the matricesXandB. she's got options, she's multitalented. πALPHAβALPHA is REAL. the scalaralpha. girlypop must be1.or-1.β otherwise, it is assumed to be0. so like, behave or get zeroed out. πDβD is REAL array, dimension (N). thendiagonal elements of the tridiagonal matrixA. the main character diagonal, honestly. βEβE is REAL array, dimension (N-1). the(n-1)subdiagonal or superdiagonal elements ofA. the supporting cast, but make no mistake, she's essential. π«ΆXβX is REAL array, dimension (LDX,NRHS). theNbyNRHSmatrixX. the input that gets multiplied, slay. π₯LDXβLDX is INTEGER. the leading dimension of the arrayX. constraint:LDX >= max(N,1). respect the bounds or perish (metaphorically). πBETAβBETA is REAL. the scalarbeta. must be0.,1., or-1.β otherwise, it is assumed to be1. so if you get cute with it, she just assumes1. πBβB is REAL array, dimension (LDB,NRHS). on entry, theNbyNRHSmatrixB. on exit,Bis overwritten by the matrix expressionB := alpha * A * X + beta * B. so like, don't get attached to the oldB, she's gone, she's been replaced, character development. β¨LDBβLDB is INTEGER. the leading dimension of the arrayB. constraint:LDB >= max(N,1). same energy asLDX, no exceptions. π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad, the whole collective, we stan a collaborative effort. π
Definition at line 115 of file slaptm.f. β yeah, if you need to find her in the wild, that's exactly where she's at. π
π Author (yes, again, bestie)
Generated automatically by Doxygen for LAPACK from the source code. so like, a robot wrote this page, but she understood the assignment. π§
and that's the whole page! π¦ no cap, every parameter, every constraint, every !> comment retained, because we don't gatekeep details around here. LAPACK, Version 3.12.0, and this page is headed to you from /home/abui...IN/slaptm.f(3) β mwah, bye bestie! π
β¨πΈπ
π¦ 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