lis_matrix_set_type(3f)
π NAME π
lis_matrix_set_type β bestie, this is the glow-up button for your matrix's storage format β¨
It lives in the Lis Library Functions fam, and it's giving "makeover montage" energy π
π SYNOPSIS π
subroutine lis_matrix_set_type(LIS_MATRIX A, LIS_INTEGER matrix_type,
LIS_INTEGER ierr);
πΈ DESCRIPTION πΈ
Okay so real talk: this routine assigns the storage format. That's it, that's the whole vibe. You hand her a matrix, you tell her what format you want her to be in, and she commits to the bit π¦
β¨ INPUT β¨
Aβ the matrix π the main character herself, the one getting the makeovermatrix_typeβ the storage format π« the outfit she's changing into
π«Ά OUTPUT π«Ά
No output bestie, she just does the thing π (well, except ierr, which is right there in the synopsis doing its little error-code job)
π NOTE π
Not me needing you to know this: when the matrix is created, matrix_type of A is LIS_MATRIX_CSR. Periodt. Default behaviour, no cap π
So here's the full menu of storage formats for matrix_type β the whole closet, every fit, laid out for you π
- Compressed Sparse Row (CSR) β
{LIS_MATRIX_CSR|1} - Compressed Sparse Row (CSR) β
{LIS_MATRIX_CSR|1} - Compressed Sparse Column (CSC) β
{LIS_MATRIX_CSC|2} - Modified Compressed Sparse Row (MSR) β
{LIS_MATRIX_MSR|3} - Diagonal (DIA) β
{LIS_MATRIX_DIA|4} - Ellpack-Itpack Generalized Diagonal (ELL) β
{LIS_MATRIX_ELL|5} - Jagged Diagonal (JAD) β
{LIS_MATRIX_JAD|6} - Block Sparse Row (BSR) β
{LIS_MATRIX_BSR|7} - Block Sparse Column (BSC) β
{LIS_MATRIX_BSC|8} - Variable Block Row (VBR) β
{LIS_MATRIX_VBR|9} - Coordinate (COO) β
{LIS_MATRIX_COO|10} - Dense (DNS) β
{LIS_MATRIX_DNS|11}
and yes, CSR is listed twice up there β that's exactly how the original rolls, so I'm not touching it. she's an icon, she's a legend, and apparently she's a double feature π―ββοΈ
π SEE ALSO π
okay that's the whole page bestie, go forth and format your matrices, ily π§
this cutie was served up as a Man Page on 6 Sep 2012, under the name lis_matrix_set_type(3f) π
π¦ 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