CLSETS(3)
okay bestie, welcome to CLSETS(3) from the Library Functions Manual β this is the group chat where linear equality constrained least squares gets solved, and yes, it's giving main character energy π
β¨
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/clsets.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine CLSETS (m, p, n, a, af, lda, b, bf, ldb, c, cf, d, df, x,
work, lwork, rwork, result)
CLSETS
π οΈ Function/Subroutine Documentation π οΈ
subroutine CLSETS (integer m, integer p, integer n, complex, dimension( lda,
* ) a, complex, dimension( lda, * ) af, integer lda, complex, dimension(
ldb, * ) b, complex, dimension( ldb, * ) bf, integer ldb, complex,
dimension( * ) c, complex, dimension( * ) cf, complex, dimension( * ) d,
complex, dimension( * ) df, complex, dimension( * ) x, complex,
dimension( lwork ) work, integer lwork, real, dimension( * ) rwork,
real, dimension( 2 ) result)
CLSETS
π― Purpose
okay so the whole vibe is this: CLSETS tests CGGLSE β a subroutine for solving linear equality constrained least square problem (LSE). periodt. π
π Parameters
MβM is INTEGER. The number of rows of the matrixA.M >= 0. no cap.PβP is INTEGER. The number of rows of the matrixB.P >= 0. slay.NβN is INTEGER. The number of columns of the matricesAandB.N >= 0. iconic.AβA is COMPLEX array, dimension (LDA,N). TheM-by-NmatrixA. literally.AFβAF is COMPLEX array, dimension (LDA,N). π¦LDAβLDA is INTEGER. The leading dimension of the arraysA,AF,QandR.LDA >= max(M,N). keep that constraint, bestie.BβB is COMPLEX array, dimension (LDB,N). TheP-by-NmatrixA. yes, the page saysAhere β I'm not fixing the lore πBFβBF is COMPLEX array, dimension (LDB,N). π«ΆLDBβLDB is INTEGER. The leading dimension of the arraysB,BF,VandS.LDB >= max(P,N). highkey important.CβC is COMPLEX array, dimension( M ). the vectorCin the LSE problem. πCFβCF is COMPLEX array, dimension( M ). β¨DβD is COMPLEX array, dimension( P ). the vectorDin the LSE problem. πΈDFβDF is COMPLEX array, dimension( P ). πXβX is COMPLEX array, dimension( N ). solution vectorXin the LSE problem. main character vector fr fr.WORKβWORK is COMPLEX array, dimension (LWORK). πLWORKβLWORK is INTEGER. The dimension of the arrayWORK. okay werk.RWORKβRWORK is REAL array, dimension (M). πRESULTβRESULT is REAL 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
that's the whole test-ratio moment, no skips π₯
π«Ά Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 153 of file clsets.f.
π«Ά Author
Generated automatically by Doxygen for LAPACK from the source code. π
mwah π β this footer has no extra date drama, just LAPACK Version 3.12.0 and page /home/abui...IG/clsets.f(3), signing off with a lil kiss πβ¨
π¦ 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