ZLARHS(3)
π zlarhs.f(3) β like, the whole manual page, bestie β¨
okay so real quick: this is zlarhs.f(3) from the LAPACK library functions manual, and it lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zlarhs.f π«Ά that's literally the NAME section, that's it, that's the name. moving on π
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines
subroutine ZLARHS (path, xtype, uplo, trans, m, n, kl, ku, nrhs, a, lda,
x, ldx, b, ldb, iseed, info)
ZLARHS β that's the whole vibe, she's the function π
π Function/Subroutine Documentation π
subroutine ZLARHS (character*3 path, character xtype, character uplo,
character trans, integer m, integer n, integer kl, integer ku, integer
nrhs, complex*16, dimension( lda, * ) a, integer lda, complex*16,
dimension( ldx, * ) x, integer ldx, complex*16, dimension( ldb, * ) b,
integer ldb, integer, dimension( 4 ) iseed, integer info)
ZLARHS
π Purpose π
!>ZLARHSchooses a set ofNRHSrandom solution vectors and sets !> up the right hand sides for the linear system !>op(A) * X = B,!> whereop(A) = A, A**T, or A**H, depending onTRANS. !>
like, she's out here picking random solution vectors and building your right hand sides. iconic behavior honestly π
π Parameters π
PATHβ soPATHisCHARACTER*3and it's giving what kind of complex matrix is A, bestie.PATHmay be given in any combination of upper and lower case. Valid paths include:xGE: Generalm x nmatrixxGB: General banded matrixxPO: Hermitian positive definite, 2-D storagexPP: Hermitian positive definite packedxPB: Hermitian positive definite bandedxHE: Hermitian indefinite, 2-D storagexHP: Hermitian indefinite packedxHB: Hermitian indefinite bandedxSY: Symmetric indefinite, 2-D storagexSP: Symmetric indefinite packedxSB: Symmetric indefinite bandedxTR: TriangularxTP: Triangular packedxTB: Triangular bandedxQR: Generalm x nmatrixxLQ: Generalm x nmatrixxQL: Generalm x nmatrixxRQ: Generalm x nmatrix
where the leading character indicates the precision β¨ (iykyk)
XTYPEβXTYPEisCHARACTER*1and specifies how the exact solutionXwill be determined:= 'N': New solution; generate a randomX.= 'C': Computed; use value ofXon entry.
so either she makes one up for you or you bring your own, no in-between π
UPLOβUPLOisCHARACTER*1. Used only ifAis symmetric or triangular; specifies whether the upper or lower triangular part of the matrixAis stored.= 'U': Upper triangular= 'L': Lower triangular
TRANSβTRANSisCHARACTER*1. Used only ifAis nonsymmetric; specifies the operation applied to the matrixA.= 'N':B := A * X(No transpose)= 'T':B := A**T * X(Transpose)= 'C':B := A**H * X(Conjugate transpose)
three flavors, all valid, pick your fighter π
MβMisINTEGER. The number of rows of the matrixA.M >= 0.NβNisINTEGER. The number of columns of the matrixA.N >= 0.KLβKLisINTEGER. Used only ifAis a band matrix; specifies the number of subdiagonals ofAifAis a general band matrix or ifAis symmetric or triangular andUPLO = 'L'; specifies the number of superdiagonals ofAifAis symmetric or triangular andUPLO = 'U'.0 <= KL <= M-1.KUβKUisINTEGER. Used only ifAis a general band matrix or ifAis triangular.- If
PATH = xGB, specifies the number of superdiagonals ofA, and0 <= KU <= N-1. - If
PATH = xTR,xTP, orxTB, specifies whether or not the matrix has unit diagonal:= 1: matrix has non-unit diagonal (default)= 2: matrix has unit diagonal
- If
two whole personality modes for one variable, she's versatile π
NRHSβNRHSisINTEGER. The number of right hand side vectors in the systemA*X = B.AβAisCOMPLEX*16array, dimension(LDA,N). The test matrix whose type is given byPATH.LDAβLDAisINTEGER. The leading dimension of the arrayA.- If
PATH = xGB,LDA >= KL+KU+1. - If
PATH = xPB,xSB,xHB, orxTB,LDA >= KL+1. - Otherwise,
LDA >= max(1,M).
- If
XβX is or output)COMPLEX*16array, dimension(LDX,NRHS). On entry, ifXTYPE = 'C'(for'Computed'), thenXcontains the exact solution to the system of linear equations. On exit, ifXTYPE = 'N'(for'New'), thenXis initialized with random values. π¦LDXβLDXisINTEGER. The leading dimension of the arrayX. IfTRANS = 'N',LDX >= max(1,N); ifTRANS = 'T',LDX >= max(1,M).BβBisCOMPLEX*16array, dimension(LDB,NRHS). The right hand side vector(s) for the system of equations, computed fromB = op(A) * X, whereop(A)is determined byTRANS.LDBβLDBisINTEGER. The leading dimension of the arrayB. IfTRANS = 'N',LDB >= max(1,M); ifTRANS = 'T',LDB >= max(1,N).ISEEDβISEEDisINTEGERarray, dimension(4). The seed vector for the random number generator (used inZLATMS). Modified on exit. π heads up, she will touch your seed.INFOβINFOisINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
β οΈ bestie watch the signs:INFO = 0is the slay outcome, and any negativeINFOmeans argument number-iwas being messy. no cap.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 206 of file zlarhs.f.
πΈ Author πΈ
Generated automatically by Doxygen for LAPACK from the source code. (yes the robot wrote this one, not me π)
LAPACK β Version 3.12.0 β and that's the whole page from /home/abui...IN/zlarhs.f(3), mwah π thanks for reading bestie, go call ZLARHS responsibly π«Άβ¨π
π¦ 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