lis_matrix_set_msr(3f)
π lis_matrix_set_msr β bestie edition π
okay so this is a page from the Lis Library Functions manual, and it's literally about handing your MSR-format arrays over to a matrix. iykyk π«Ά
β¨ NAME β¨
lis_matrix_set_msr β associate the arrays in the MSR format with the matrix
no cap, that's the whole job description. it takes your arrays and goes "these? yeah, they belong to this matrix now." π
πΈ SYNOPSIS πΈ
subroutine lis_matrix_set_msr(LIS_INTEGER nnz, LIS_INTEGER ndz[],
LIS_INTEGER index[], LIS_SCALAR value[], LIS_MATRIX A, LIS_INTEGER ierr);
look at her. six arguments, one job. iconic.
π¦ DESCRIPTION π¦
Associate the arrays in the MSR format with matrix A.
that's it. that's the whole vibe. you show up with your arrays, you show up with your matrix, and now they're linked. main character energy fr fr π
π INPUT π
nnzβ The number of nonzero elements. like, how many actual things are in there.ndzβ The number of nonzero elements in the diagonal. yes, the diagonal gets its own count. she's special. πptr,index,valueβ The arrays in the MSR format. this is the trio. the squad. the whole point of the function. πAβ The matrix. the one receiving all of this attention.
π OUTPUT π
Aβ The matrix associated with the arrays. she came in as just a matrix and left with ARRAYS. glow up. β¨
β NOTE β
Afterlis_matrix_set_msris called, the functionlis_matrix_assemblemust be called.
not me stressing this enough: you are not done yet. setting is step one. lis_matrix_assemble is step two. skipping it is giving unfinished business and the matrix will simply not be ready. don't do that to her. π
π SEE ALSO π
that's the whole page bestie, go forth and assemble π§π
sign-off time: this lil masterpiece came off the Lis Library Functions shelf, dated 6 Sep 2012, and it lives under the name lis_matrix_set_msr(3f) β so if you cite her, cite her right. π
πΈπ¦
π¦ 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