lis_matrix_set_ell(3f)
β¨ lis_matrix_set_ell β bestie, let's bind those ELL arrays π
okay so this is a page from the Lis Library Functions manual, section 3f β yes it's a Fortran subroutine, and yes it's iconic. sit down, hydrate, we're learning π
πΈ NAME πΈ
lis_matrix_set_ell β it takes the arrays you've got hanging out in ELL format and associates them with the matrix. like, introduces them. makes it official. π«Ά
β¨ SYNOPSIS β¨
subroutine lis_matrix_set_ell(LIS_INTEGER maxnzr, LIS_INTEGER index[],
LIS_SCALAR value[], LIS_MATRIX A, LIS_INTEGER ierr);
that's the whole vibe check right there π
π DESCRIPTION π
So what it does is literally this: it associates the arrays in the ELL format with matrix A. that's it. that's the whole function. and honestly? slay. π
π INPUT π
maxnzrβ the max number of nonzero elements in each row. the ceiling. the limit. the "how much can one row hold" number. πindex,valueβ the arrays in the ELL format. the actual data besties. the receipts. πAβ the matrix. main character energy tbh. π
π¦ OUTPUT π¦
Aβ the matrix, now associated with the arrays. they're bonded. it's giving soulmate. π
β οΈ NOTE β οΈ
okay so this part is NOT optional and I need you to hear me: afterlis_matrix_set_ellis called, you must call the functionlis_matrix_assemble. no skipping. no "I'll do it later". the assemble call is mandatory, fr fr. π
π SEE ALSO π
and that's the page, bestie π§ go forth and assemble your matrices π
this has been your girl, signing off from the Lis Library Functions corner of the manual, dated 6 Sep 2012 β the man page footer said so and I would never lie to you πβ¨πΈ
π¦ 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