TESTING/LIN/clavsy.f(3)
From TESTING/LIN/clavsy.f(3), Library Functions Manual β okay bestie, this is the LAPACK subroutine page for clavsy, and itβs giving βmatrix-vector product main character energyβ while being extremely specific about every single argument. π
β¨
π NAME π
TESTING/LIN/clavsy.f β yes, thatβs the whole name section. The file is the moment. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine clavsy (uplo, trans, diag, n, nrhs, a, lda, ipiv, b, ldb, info)
CLAVSY
π«Ά Function/Subroutine Documentation π«Ά
Hereβs the full signature, character-for-character, no cap:
subroutine clavsy (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
π― Purpose π―
CLAVSY performs one of the matrix-vector operations
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.
If TRANS = 'N', multiplies by U or U * D (or L or L * D). If TRANS = 'T', multiplies by U' or D * U' (or L' or D * L'). Periodt. π
πΈ Parameters πΈ
π UPLO
UPLO is CHARACTER*1. It specifies whether the factor stored in A is upper or lower triangular.
= '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. N >= 0.
π NRHS
NRHS is INTEGER. Itβs the number of right hand sides, i.e., the number of vectors x to be multiplied by A. 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. Stored as a 2-D triangular matrix.
π§ LDA
LDA is INTEGER. Itβs the leading dimension of the array A. 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.
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) = IPIV(k-1) < 0, then rows and columnsk-1and-IPIV(k)were interchanged,D(k-1:k,k-1:k)is a 2-by-2 diagonal block.
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) = IPIV(k+1) < 0, then rows and columnsk+1and-IPIV(k)were interchanged,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.
π LDB
LDB is INTEGER. Itβs the leading dimension of the array B. 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 151 of file clavsy.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Thatβs the page, bestie. Footer vibes: LAPACK, Version 3.12.0, source path TESTING/LIN/clavsy.f(3). The footer doesnβt hand us a date, so no invented calendar tea β just cute Unix fairy dust and a very thorough clavsy moment. π§β¨π
π¦ 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