lis_matrix_set_csc(3)
π lis_matrix_set_csc(3) π
okay bestie, welcome to the Lis Library Functions corner of the manual β this one's called lis_matrix_set_csc, and it's lowkey the moment where you hand your matrix a whole CSC-format glow-up. Let's get into it. π¦
β¨ NAME β¨
lis_matrix_set_csc β associate the arrays in the CSC format with the matrix
Likeβ¦ you've got arrays. You've got a matrix. This function is the matchmaker. π
πΈ SYNOPSIS πΈ
#include "lis.h"
LIS_INT lis_matrix_set_csc(LIS_INT nnz, LIS_INT ptr[], LIS_INT index[],
LIS_SCALAR value[], LIS_MATRIX A);
That's the whole vibe right there. Copy it exactly, no editing, we don't freestyle signatures in this house. π
π§ DESCRIPTION π§
Associate the arrays in the CSC format with matrix A.
That's it. That's the whole thing. You bring the arrays, it links them up to A, iconic behavior, no notes. β¨
π INPUT π
nnzβ the number of nonzero elements. Yes it matters, don't skip it, it's literally the headcount of your nonzeros. π’ptr,index,valueβ the arrays in the CSC format. The whole trio, together, as a set. π«ΆAβ the matrix. The main character, honestly. π
π OUTPUT π
Aβ the matrix, now associated with the arrays. She's been matched. She's thriving. π
π₯ EXIT STATUS π₯
The following exit values are returned:
0β the process is normally terminated. We love a clean exit. slay. πunspecifiedβ an error occurred. π not the unspecified error, she's giving mystery, she's giving chaos.
π NOTE π
Afterlis_matrix_set_cscis called, the functionlis_matrix_assemblemust be called.
No like fr fr, must. You can't just set and dip. This is a two-step situation, bestie, and step two is not optional. π¨
π SEE ALSO π
and that's the page!! ty for reading my little Unix rant, mwah π
signing off from the Man Page, dated 6 Sep 2012, brought to you by the Lis Library Functions β xoxo, your local Unix girlie π§ββοΈπ
π¦ 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