TESTING/EIG/dlsets.f(3)

πŸ“¦
version 3.12.1 Β· 2 versions
, in arch rolling

🌸 TESTING/EIG/dlsets.f(3) 🌸

okay so this page is from the Library Functions Manual, and it’s all about TESTING/EIG/dlsets.f β€” a LAPACK testing routine. main character energy for a subroutine, honestly πŸ’…


πŸ¦‹ NAME πŸ¦‹

TESTING/EIG/dlsets.f β€” yes bestie, that’s literally the name, and we’re obsessed with the specificity πŸŽ€


✨ SYNOPSIS ✨

πŸ’« Functions/Subroutines

  • subroutine dlsets β€” the one and only routine here, and its name is DLSETS. slay.
       subroutine dlsets (m, p, n, a, af, lda, b, bf, ldb, c, cf, d, df, x,
           work, lwork, rwork, result)

DLSETS


πŸ”₯ Function/Subroutine Documentation πŸ”₯

subroutine dlsets (integer m, integer p, integer n, double precision,
       dimension( lda, * ) a, double precision, dimension( lda, * ) af, integer
       lda, double precision, dimension( ldb, * ) b, double precision,
       dimension( ldb, * ) bf, integer ldb, double precision, dimension( * ) c,
       double precision, dimension( * ) cf, double precision, dimension( * ) d,
       double precision, dimension( * ) df, double precision, dimension( * ) x,
       double precision, dimension( lwork ) work, integer lwork, double
       precision, dimension( * ) rwork, double precision, dimension( 2 )
       result)

DLSETS β€” that’s the routine, periodt πŸ’–

🌟 Purpose

DLSETS tests DGGLSE β€” a subroutine for solving linear equality constrained least square problem (LSE). no cap, that’s the whole purpose and it ate 🫢

πŸŽ€ Parameters

  • M β€” M is INTEGER. The number of rows of the matrix A. M >= 0.
  • P β€” P is INTEGER. The number of rows of the matrix B. P >= 0.
  • N β€” N is INTEGER. The number of columns of the matrices A and B. N >= 0.
  • A β€” A is DOUBLE PRECISION array, dimension (LDA,N). The M-by-N matrix A.
  • AF β€” AF is DOUBLE PRECISION array, dimension (LDA,N). that’s the whole description in the source, bestie πŸ¦‹
  • LDA β€” LDA is INTEGER. The leading dimension of the arrays A, AF, Q and R. LDA >= max(M,N).
  • B β€” B is DOUBLE PRECISION array, dimension (LDB,N). The source says β€œThe P-by-N matrix A.” β€” yes, it says A there, and I’m not fixing it 😭
  • BF β€” BF is DOUBLE PRECISION array, dimension (LDB,N). no extra lore in the source, just vibes ✨
  • LDB β€” LDB is INTEGER. The leading dimension of the arrays B, BF, V and S. LDB >= max(P,N).
  • C β€” C is DOUBLE PRECISION array, dimension( M ). the vector C in the LSE problem.
  • CF β€” CF is DOUBLE PRECISION array, dimension( M ). short and sweet.
  • D β€” D is DOUBLE PRECISION array, dimension( P ). the vector D in the LSE problem.
  • DF β€” DF is DOUBLE PRECISION array, dimension( P ). that’s it, that’s the parameter πŸŽ€
  • X β€” X is DOUBLE PRECISION array, dimension( N ). solution vector X in the LSE problem.
  • WORK β€” WORK is DOUBLE PRECISION array, dimension (LWORK).
  • LWORK β€” LWORK is INTEGER. The dimension of the array WORK.
  • RWORK β€” RWORK is DOUBLE PRECISION array, dimension (M).
  • RESULT β€” RESULT is DOUBLE PRECISION array, dimension (2). The test ratios:
RESULT(1) = norm( A*x - c )/ norm(A)*norm(X)*EPS
RESULT(2) = norm( B*x - d )/ norm(B)*norm(X)*EPS

πŸ‘‘ Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Definition at line 149 of file dlsets.f.


πŸ’– Author πŸ’–

Generated automatically by Doxygen for LAPACK from the source code.

πŸ’… cute little sign-off: this page is from LAPACK Version 3.12.0 for TESTING/EIG/dlsets.f(3) β€” the footer doesn’t give a date, so no date to spill, bestie 🌈🫢

πŸ“¦ where this page comes from