lis_matrix_scale(3f)

πŸ“¦ version 2.1.11, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

πŸ’– 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 literally D^-1 A x = D^-1 b, where D represents the diagonal of A=(a_ij) πŸ’€
    • LIS_SCALE_SYMM_DIAG β€” diagonal scaling, which is D^-1/2 A D^-1/2 x = D^-1/2 b, where D^-1/2 represents the diagonal matrix with (a_ii)^-1/2 as the diagonal 🌈

πŸ’œ OUTPUT πŸ’œ

  • d β€” the vector which stores the diagonal elements of D^-1 or D^-1/2. she's holding the receipts for whichever action you 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