TESTING/LIN/slaptm.f(3)
πΈ NAME πΈ
TESTING/LIN/slaptm.f β welcome to the TESTING/LIN/slaptm.f(3) page from the Library Functions Manual, bestie. This is the whole slaptm situation, and itβs lowkey iconic: symmetric tridiagonal matrix multiply in the LAPACK testing/LIN corner. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine slaptm (n, nrhs, alpha, d, e, x, ldx, beta, b, ldb)
SLAPTM
π Function/Subroutine Documentation π
Okay so hereβs the full signature, exactly as itβs giving:
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
π¦ Purpose π¦
slaptm multiplies an N by NRHS matrix X by a symmetric tridiagonal matrix A, then 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. No cap. β¨
π Parameters π
π N
N is INTEGER. Itβs the order of the matrix A. Constraint: N >= 0.
π NRHS
NRHS is INTEGER. Itβs the number of right hand sides, aka the number of columns of the matrices X and B.
π ALPHA
ALPHA is REAL. The scalar alpha. ALPHA must be 1. or -1.; otherwise, it is assumed to be 0.
π D
D is REAL array, dimension (N). The n diagonal elements of the tridiagonal matrix A.
π E
E is REAL array, dimension (N-1). The (n-1) subdiagonal or superdiagonal elements of A.
π X
X is REAL array, dimension (LDX,NRHS). Itβs the N by NRHS matrix X.
π LDX
LDX is INTEGER. The leading dimension of the array X. Constraint: LDX >= max(N,1).
π BETA
BETA is REAL. The scalar beta. BETA must be 0., 1., or -1.; otherwise, it is assumed to be 1.
π B
B is REAL array, dimension (LDB,NRHS). On entry, itβs the N by NRHS matrix B. On exit, B is overwritten by the matrix expression:
B := alpha * A * X + beta * B
π LDB
LDB is INTEGER. The leading dimension of the array B. Constraint: LDB >= max(N,1).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 115 of file slaptm.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
LAPACK Version 3.12.0, generated from the source code β the footer doesnβt give a date, so Iβm not making one up, 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