CLAVSY_ROOK(3)
๐ธ NAME ๐ธ
TESTING/LIN/clavsy_rook.f โ okay bestie, this is the file this page is all about. The header also shows it as TESTING/LI...avsy_rook.f(3) from the Library Functions Manual, and it is very much giving โLAPACK Fortran subroutine documentationโ energy. โจ
โจ SYNOPSIS โจ
๐ฆ Functions/Subroutines ๐ฆ
subroutine clavsy_rook (uplo, trans, diag, n, nrhs, a, lda, ipiv, b,
ldb, info)
CLAVSY_ROOK
๐ FUNCTION/SUBROUTINE DOCUMENTATION ๐
๐ CLAVSY_ROOK ๐
Hereโs the full signature so you can see every type, dimension and argument name exactly as written:
subroutine clavsy_rook (character uplo, character trans, character diag,
integer n, integer nrhs, complex, dimension( lda, * ) a, integer lda,
integer, dimension( * ) ipiv, complex, dimension( ldb, * ) b, integer
ldb, integer info)
CLAVSY_ROOK
๐ฆ PURPOSE ๐ฆ
Bestie, CLAVSY_ROOK performs one of these matrix-vector operations โ and yes, that apostrophe means transpose:
x := A*x or x := A'*x,
where x is an N element vector and A is one of the factors from the block U*D*U' or L*D*L' factorization computed by CSYTRF_ROOK. Iconic linear algebra behavior.
- If
TRANS = 'N', multiplies byUorU * D(orLorL * D) - If
TRANS = 'T', multiplies byU'orD * U'(orL'orD * L')
๐ธ PARAMETERS ๐ธ
UPLO
UPLO is CHARACTER*1. It specifies whether the factor stored in A is upper or lower triangular. One character, big job.
= 'U': Upper triangular= 'L': Lower triangular
TRANS
TRANS is CHARACTER*1. It specifies the operation to be performed:
= 'N':x := A*x= 'T':x := A'*x
DIAG
DIAG is CHARACTER*1. It specifies whether or not the diagonal blocks are unit matrices. If the diagonal blocks are assumed to be unit, then A = U or A = L; otherwise A = U*D or A = L*D.
= 'U': Diagonal blocks are assumed to be unit matrices.= 'N': Diagonal blocks are assumed to be non-unit matrices.
N
N is INTEGER. Itโs the number of rows and columns of the matrix A. Constraint: N >= 0. Respect the constraint, bestie.
NRHS
NRHS is INTEGER. Itโs the number of right hand sides, i.e., the number of vectors x to be multiplied by A. Constraint: NRHS >= 0.
A
A is COMPLEX array, dimension (LDA,N). Itโs the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by CSYTRF_ROOK. Stored as a 2-D triangular matrix. We love a structured storage moment.
LDA
LDA is INTEGER. Itโs the leading dimension of the array A. Constraint: LDA >= max(1,N).
IPIV
IPIV is INTEGER array, dimension (N). It holds details of the interchanges and the block structure of D, as determined by CSYTRF_ROOK.
If UPLO = 'U':
- If
IPIV(k) > 0, then rows and columnskandIPIV(k)were interchanged andD(k,k)is a 1-by-1 diagonal block. (IfIPIV( k ) = k, no interchange was done). - If
IPIV(k) < 0andIPIV(k-1) < 0, then rows and columnskand-IPIV(k)were interchanged and rows and columnsk-1and-IPIV(k-1)were inerchaged,D(k-1:k,k-1:k)is a 2-by-2 diagonal block. Yep, โinerchagedโ is the sourceโs spelling โ Iโm keeping it exactly.
If UPLO = 'L':
- If
IPIV(k) > 0, then rows and columnskandIPIV(k)were interchanged andD(k,k)is a 1-by-1 diagonal block. (IfIPIV( k ) = k, no interchange was done). - If
IPIV(k) < 0andIPIV(k+1) < 0, then rows and columnskand-IPIV(k)were interchanged and rows and columnsk+1and-IPIV(k+1)were inerchaged,D(k:k+1,k:k+1)is a 2-by-2 diagonal block.
B
B is COMPLEX array, dimension (LDB,NRHS). On entry, B contains NRHS vectors of length N. On exit, B is overwritten with the product A * B. The math ate and left no crumbs.
LDB
LDB is INTEGER. Itโs the leading dimension of the array B. Constraint: LDB >= max(1,N).
INFO
INFO is INTEGER.
= 0: successful exit< 0: ifINFO = -k, thek-th argument had an illegal value
๐ซถ AUTHOR ๐ซถ
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
๐ DEFINITION ๐
Definition at line 153 of file clavsy_rook.f.
๐ AUTHOR ๐
Generated automatically by Doxygen for LAPACK from the source code.
๐ Thatโs the whole page, bestie. Source/version situation: LAPACK Version 3.12.0, footer page TESTING/LI...avsy_rook.f(3). The footer didnโt print a date, so Iโm not inventing one โ no cap, just facts. ๐โจ
๐ฆ 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