lis_matrix_scale(3f)
π NAME π
lis_matrix_scale β bestie, this one scales the matrix. that's the whole vibe β¨
π SYNOPSIS π
subroutine lis_matrix_scale(LIS_MATRIX A, LIS_VECTOR b, LIS_VECTOR d,
LIS_INTEGER action, LIS_INTEGER ierr);
ok so you call it like that, no cap. π
πΈ DESCRIPTION πΈ
Scale matrix A. that's it, that's the job. she's a scaler, she scales. π¦
β¨ INPUT β¨
iβ the row number of the matrix, fr fr πjβ the column number of the matrix πΊοΈvalueβ the scalar value to be assigned πAβ the matrix πbβ the vector π§actionβ okay so this is the main character of the whole operation, pick one:LIS_SCALE_JACOBIβ Jacobi scaling, which is literallyD^-1 A x = D^-1 b, whereDrepresents the diagonal ofA=(a_ij)πLIS_SCALE_SYMM_DIAGβ diagonal scaling, which isD^-1/2 A D^-1/2 x = D^-1/2 b, whereD^-1/2represents the diagonal matrix with(a_ii)^-1/2as the diagonal π
π OUTPUT π
dβ the vector which stores the diagonal elements ofD^-1orD^-1/2. she's holding the receipts for whicheveractionyou picked π«Ά
π SEE ALSO π
and that's the page bestie, tysm for reading π this one lives in the Lis Library Functions and it's dated 28 Aug 2014 β yeah she's an icon from way back, still slaying, still scaling β¨ bye ily! π
π¦ where this page comes from
- fedora 43: lis-doc 2.0.21-13.fc41 Β· BSD
- fedora 43: lis-doc 2.1.11-1.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: lis-doc 2.0.21-13.fc41 Β· BSD
- fedora 44: lis-doc 2.1.11-1.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: lis 2.1.10
- nixpkgs unstable: lis 2.1.16
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms