TESTING/EIG/clsets.f(3)
π TESTING/EIG/clsets.f(3) β Library Functions Manual π
okay so bestie, this is the TESTING/EIG/clsets.f page from the Library Functions Manual, and it's basically the test-routine lore for CLSETS π buckle up.
β¨ NAME β¨
TESTING/EIG/clsets.f β that's literally the name, periodt π
π« 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
CLSETS tests CGGLSE β a subroutine for solving linear equality constrained least square problem (LSE). iykyk π
Parameters
MβMisINTEGER; the number of rows of the matrixA.M >= 0.PβPisINTEGER; the number of rows of the matrixB.P >= 0.NβNisINTEGER; the number of columns of the matricesAandB.N >= 0.AβAisCOMPLEXarray, dimension(LDA,N); theM-by-NmatrixA.AFβAFisCOMPLEXarray, dimension(LDA,N).LDAβLDAisINTEGER; the leading dimension of the arraysA,AF,QandR.LDA >= max(M,N).BβBisCOMPLEXarray, dimension(LDB,N); theP-by-NmatrixA. yes, the original saysAhere β we're not fixing it, bestie ππBFβBFisCOMPLEXarray, dimension(LDB,N).LDBβLDBisINTEGER; the leading dimension of the arraysB,BF,VandS.LDB >= max(P,N).CβCisCOMPLEXarray, dimension( M ); the vectorCin the LSE problem.CFβCFisCOMPLEXarray, dimension( M ).DβDisCOMPLEXarray, dimension( P ); the vectorDin the LSE problem.DFβDFisCOMPLEXarray, dimension( P ).XβXisCOMPLEXarray, dimension( N ); solution vectorXin the LSE problem.WORKβWORKisCOMPLEXarray, dimension(LWORK).LWORKβLWORKisINTEGER; the dimension of the arrayWORK.RWORKβRWORKisREALarray, dimension(M).RESULTβRESULTisREALarray, dimension(2); the test ratios are literally:
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 153 of file clsets.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π cute sign-off: LAPACK Version 3.12.0, generated automatically by Doxygen for LAPACK from the source code β byeee bestie! π
π¦ 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