CLARHS(3)
π CLARHS(3) π
okay bestie, welcome to the CLARHS(3) page β it's a Library Functions Manual moment, and the header path is /home/abui...IN/clarhs.f(3). no cap, we're getting into the LAPACK sauce. π
πΈ NAME πΈ
The NAME section is literally just this path:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/clarhs.f
That's the whole name, bestie. iconic minimalism. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine CLARHS (path, xtype, uplo, trans, m, n, kl, ku, nrhs, a, lda,
x, ldx, b, ldb, iseed, info)
CLARHS
π¦ Function/Subroutine Documentation π¦
subroutine CLARHS (character*3 path, character xtype, character uplo,
character trans, integer m, integer n, integer kl, integer ku, integer
nrhs, complex, dimension( lda, * ) a, integer lda, complex, dimension(
ldx, * ) x, integer ldx, complex, dimension( ldb, * ) b, integer ldb,
integer, dimension( 4 ) iseed, integer info)
CLARHS
π Purpose π
okay so CLARHS chooses a set of NRHS random solution vectors and sets up the right hand sides for the linear system
op(A) * X = B,
where op(A) = A, A**T, or A**H, depending on TRANS. slay. π
π Parameters π
PATHβPATH is CHARACTER*3. The type of the complex matrixA.PATHmay be given in any combination of upper and lower case. Valid paths include:xGE: General m x n matrixxGB: 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: General m x n matrixxLQ: General m x n matrixxQL: General m x n matrixxRQ: General m x n matrix
where the leading character indicates the precision.
XTYPEβXTYPE is CHARACTER*1. Specifies how the exact solutionXwill be determined:= 'N': New solution; generate a random X.= 'C': Computed; use value of X on entry.
UPLOβUPLO is CHARACTER*1. Used only if A is symmetric or triangular; specifies whether the upper or lower triangular part of the matrix A is stored.= 'U': Upper triangular= 'L': Lower triangular
TRANSβTRANS is CHARACTER*1. Used only if A is nonsymmetric; specifies the operation applied to the matrix A.= 'N': B := A * X (No transpose)= 'T': B := A**T * X (Transpose)= 'C': B := A**H * X (Conjugate transpose)
MβM is INTEGER. The number of rows of the matrix A.M >= 0.NβN is INTEGER. The number of columns of the matrix A.N >= 0.KLβKL is INTEGER. Used only if A is a band matrix; specifies the number of subdiagonals of A if A is a general band matrix or if A is symmetric or triangular andUPLO = 'L'; specifies the number of superdiagonals of A if A is symmetric or triangular andUPLO = 'U'.0 <= KL <= M-1.KUβKU is INTEGER. Used only if A is a general band matrix or if A is triangular.
If PATH = xGB, specifies the number of superdiagonals of A, and 0 <= KU <= N-1.
If PATH = xTR, xTP, or xTB, specifies whether or not the matrix has unit diagonal:
= 1: matrix has non-unit diagonal (default)= 2: matrix has unit diagonal
NRHSβNRHS is INTEGER. The number of right hand side vectors in the systemA*X = B.AβA is COMPLEX array, dimension (LDA,N). The test matrix whose type is given byPATH.LDAβLDA is INTEGER. The leading dimension of the array A.- 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 array, dimension (LDX,NRHS). Yes, the source really says "is or output)" β typo is canon, bestie. On entry, ifXTYPE = 'C'(for 'Computed'), then X contains the exact solution to the system of linear equations. On exit, ifXTYPE = 'N'(for 'New'), then X is initialized with random values.LDXβLDX is INTEGER. The leading dimension of the array X. IfTRANS = 'N',LDX >= max(1,N); ifTRANS = 'T',LDX >= max(1,M).BβB is COMPLEX array, 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βLDB is INTEGER. The leading dimension of the array B. IfTRANS = 'N',LDB >= max(1,M); ifTRANS = 'T',LDB >= max(1,N).ISEEDβISEED is INTEGER array, dimension (4). The seed vector for the random number generator (used inCLATMS). Modified on exit.INFOβINFO is INTEGER.= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 206 of file clarhs.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole CLARHS(3) moment. Bye! π The footer deets are LAPACK Version 3.12.0 and footer path /home/abui...IN/clarhs.f(3) β the original footer has no date, just those two, so no invented date, periodt. π«Άβ¨
π¦ 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