DLARHS(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’– 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 matrix A. PATH may be given in any combination of upper and lower case. Valid types include:
    • xGE: General m x n matrix
    • xGB: General banded matrix
    • xPO: Symmetric positive definite, 2-D storage
    • xPP: Symmetric positive definite packed
    • xPB: Symmetric positive definite banded
    • xSY: Symmetric indefinite, 2-D storage
    • xSP: Symmetric indefinite packed
    • xSB: Symmetric indefinite banded
    • xTR: Triangular
    • xTP: Triangular packed
    • xTB: Triangular banded
    • xQR: General m x n matrix
    • xLQ: General m x n matrix
    • xQL: General m x n matrix
    • xRQ: General m x n matrix where the leading character indicates the precision.
  • XTYPE β€” XTYPE is CHARACTER*1. It specifies how the exact solution X will be determined:
    • = 'N': New solution; generate a random X.
    • = 'C': Computed; use value of X on entry.
  • UPLO β€” UPLO is CHARACTER*1. If A is symmetric, this 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; it 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 = Transpose)
  • M β€” M is INTEGER. The number or 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; it specifies the number of subdiagonals of A if A is a general band matrix or if A is symmetric or triangular and UPLO = 'L'; it specifies the number of superdiagonals of A if A is symmetric or triangular and UPLO = '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 system A*X = B.
  • A β€” A is DOUBLE PRECISION array, dimension (LDA,N). The test matrix whose type is given by PATH.
  • LDA β€” LDA is INTEGER. The leading dimension of the array A.
    • If PATH = xGB, LDA >= KL+KU+1.
    • If PATH = xPB, xSB, xHB, or xTB, LDA >= KL+1.
    • Otherwise, LDA >= max(1,M).
  • X β€” X is or output) DOUBLE PRECISION array, dimension(LDX,NRHS). On entry, if XTYPE = 'C' (for 'Computed'), then X contains the exact solution to the system of linear equations. On exit, if XTYPE = 'N' (for 'New'), then X is initialized with random values.
  • LDX β€” LDX is INTEGER. The leading dimension of the array X. If TRANS = 'N', LDX >= max(1,N); if TRANS = '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 from B = op(A) * X, where op(A) is determined by TRANS.
  • LDB β€” LDB is INTEGER. The leading dimension of the array B. If TRANS = 'N', LDB >= max(1,M); if TRANS = 'T', LDB >= max(1,N).
  • ISEED β€” ISEED is INTEGER array, dimension (4). The seed vector for the random number generator (used in DLATMS). 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