TESTING/LIN/dlarhs.f(3)
π TESTING/LIN/dlarhs.f(3) π
Library Functions Manual, but make it group-chat energy. This is the whole page for TESTING/LIN/dlarhs.f, and yes bestie, itβs giving Fortran testing realness. π«Ά
πΈ NAME πΈ
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 π―
Okay so DLARHS is the main character that 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. Periodt. π
π§Έ Parameters π§Έ
PATHβPATHisCHARACTER*3. It tells you the type of the real matrixA. It may be given in any combination of upper and lower case. Valid types include:xGE: Generalm x nmatrixxGB: 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: Generalm x nmatrixxLQ: Generalm x nmatrixxQL: Generalm x nmatrixxRQ: Generalm x nmatrix where the leading character indicates the precision. Slay. β¨
XTYPEβXTYPEisCHARACTER*1. It specifies how the exact solutionXwill be determined:= 'N': New solution; generate a randomX.= 'C': Computed; use value ofXon entry.
UPLOβUPLOisCHARACTER*1. It specifies whether the upper or lower triangular part of the matrixAis stored, ifAis symmetric:= '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 = Transpose)
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 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βNRHSisINTEGER. The number of right hand side vectors in the systemA*X = B.AβAisDOUBLE PRECISIONarray, 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βXis an input or outputDOUBLE PRECISIONarray, 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βBisDOUBLE PRECISIONarray, 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 inDLATMS). Modified on exit.INFOβINFOisINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 203 of file dlarhs.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
Bye bestie! This glow-up is from LAPACK, Version 3.12.0, and the page is TESTING/LIN/dlarhs.f(3). Stay sparkly. πβ¨
π¦ 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