lis_matrix_set_ell(3)
π lis_matrix_set_ell β bestie edition π
okay so this is a page from the Lis Library Functions manual, and today's main character is lis_matrix_set_ell(3). pull up a chair, grab a boba, we're linking arrays to a matrix and it's gonna be so smooth β¨
β¨ NAME β¨
lis_matrix_set_ell β the way you associate the arrays in the ELL format with the matrix. that's it, that's the whole job, and she does it flawlessly π
β¨ SYNOPSIS β¨
#include "lis.h"
LIS_INT lis_matrix_set_ell(LIS_INT maxnzr, LIS_INT index[], LIS_SCALAR
value[], LIS_MATRIX A);
likeβ¦ look at that signature. iconic. no notes π«Ά
β¨ DESCRIPTION β¨
so basically you're taking the arrays that live in the ELL format and you're introducing them to matrix A. formally: associate the arrays in the ELL format with matrix A. it's giving matchmaker but for data structures π
β¨ INPUT β¨
maxnzrβ the maximum number of nonzero elements in each row. the ceiling, the limit, the "no row gets more than this many" energy πindex,valueβ the arrays in the ELL format. the actual goods. the whole point of the function tbh πΈAβ the matrix. she's the one getting the arrays attached to her β¨
β¨ OUTPUT β¨
Aβ the matrix, now associated with the arrays. glow up complete π
β¨ EXIT STATUS β¨
here's what she hands back to you:
0β the process is normally terminated. everything slayed, no crumbs π- unspecified β an error occurred π (we don't know which one, she's being mysterious, and ngl that's a little stressful)
β¨ NOTE β¨
okay listen. this part is not optional. afterlis_matrix_set_ellis called, you must calllis_matrix_assemble. no skipping, no "I'll do it later", no "surely it's fine". it is not fine. call it. periodt π
β¨ SEE ALSO β¨
lis(3)β the mothership π- http://www.ssisc.org/lis/ β go say hi to the website π¦
and that's the whole page bestie!! this was written up under Man Page, dated 6 Sep 2012, and it's from the Lis Library Functions manual, section lis_matrix_set_ell(3). mwah, go call lis_matrix_assemble, ily, bye πβ¨π
π¦ 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