DLARHS(3)
π DLARHS(3) β Library Functions Manual π
okay so bestie, the manual name is Library Functions Manual, and this page is the DLARHS(3) glow-up. No cap, we're keeping every tiny detail. β¨
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/dlarhs.f
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines π«Ά
subroutine DLARHS (path, xtype, uplo, trans, m, n, kl, ku, nrhs, a, lda, x, ldx, b, ldb, iseed, info)βDLARHS
π Function/Subroutine Documentation π
subroutine DLARHS (character*3 path, character xtype, character uplo,
character trans, integer m, integer n, integer kl, integer ku, integer
nrhs, double precision, dimension( lda, * ) a, integer lda, double
precision, dimension( ldx, * ) x, integer ldx, double precision,
dimension( ldb, * ) b, integer ldb, integer, dimension( 4 ) iseed,
integer info)
DLARHS
π Purpose π
Bestie, DLARHS 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 or A**T, depending on TRANS.
π Parameters π
PATHβPATH is CHARACTER*3. This is the type of the real matrixA.PATHmay be given in any combination of upper and lower case. Valid types include:xGE: General m x n matrixxGB: General banded matrixxPO: Symmetric positive definite, 2-D storagexPP: Symmetric positive definite packedxPB: Symmetric positive definite 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. It 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. IfAis symmetric, this specifies whether the upper or lower triangular part of the matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
TRANSβTRANS is CHARACTER*1. Used only ifAis nonsymmetric; it 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 = Transpose)
MβM is INTEGER. The number or rows of the matrixA.M >= 0.NβN is INTEGER. The number of columns of the matrixA.N >= 0.KLβKL is INTEGER. Used only ifAis a band matrix; it specifies the number of subdiagonals ofAifAis a general band matrix or ifAis symmetric or triangular andUPLO = 'L'; it specifies the number of superdiagonals ofAifAis symmetric or triangular andUPLO = 'U'.0 <= KL <= M-1.KUβKU is INTEGER. 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, or xTB, specifies whether or not the matrix has unit diagonal:= 1: matrix has non-unit diagonal (default)= 2: matrix has unit diagonal
- If
NRHSβNRHS is INTEGER. The number of right hand side vectors in the systemA*X = B.AβA is DOUBLE PRECISION array, dimension (LDA,N). The test matrix whose type is given byPATH.LDAβLDA is INTEGER. The leading dimension of the arrayA.- If
PATH = xGB,LDA >= KL+KU+1. - If
PATH = xPB, xSB, xHB, or xTB,LDA >= KL+1. - Otherwise,
LDA >= max(1,M).
- If
XβX is or output) DOUBLE PRECISION array, 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βLDX is INTEGER. The leading dimension of the arrayX. IfTRANS = 'N',LDX >= max(1,N); ifTRANS = 'T',LDX >= max(1,M).BβB is DOUBLE PRECISION 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 arrayB. 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 inDLATMS). Modified on exit.INFOβINFO is INTEGER.= 0: successful exit< 0: if INFO = -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 π§Ύ
Definition at line 203 of file dlarhs.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π Cute little sign-off: LAPACK Version 3.12.0, source page /home/abui...IN/dlarhs.f(3) β no date listed on the footer, bestie. πβ¨
π¦ 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