lis_matrix_convert(3f)
β¨ NAME β¨
lis_matrix_convert β convert the matrix format π
okay so real quick bestie, this one lives in the Lis Library Functions collection, and the page itself is lis_matrix_convert(3f) β a Fortran-callable routine, no cap. Its whole job? Glow-up your matrix from one storage format into another. Slay. π¦
πΈ SYNOPSIS πΈ
subroutine lis_matrix_convert(LIS_MATRIX Ain, LIS_MATRIX Aout, LIS_INTEGER ierr);
π DESCRIPTION π
Convert matrix Ain into Aout of the format specified by lis_matrix_set_type.
That's literally it. You hand it a matrix, it hands you back the same matrix wearing a different outfit, and the outfit is whatever you told lis_matrix_set_type to put it in. Iconic behavior honestly. π
π INPUT π
Ainβ The source matrix. this is the one you're converting FROM, your before pic πΈ
π§ OUTPUT π§
Aoutβ The destination matrix. this is the after pic, freshly formatted β¨
π NOTE π
okay here's the tea, and it's important tea:
- The storage format of the
Aoutis set bylis_matrix_set_type. You gotta tell it what you want BEFORE, bestie. - The block size of the BSR, BSC, and VBR formats is set by
lis_matrix_set_blocksize. Those three care about block size, the rest don't. π«Ά - The conversions indicated by
1in the table below are performed directly β no detours, straight shot. - The other ones are performed via the indicated formats β so like, it takes a lil connecting flight through whatever format is named in the cell.
- The conversions with no indication are performed via the CSR format. CSR is the main character of the airport, everyone connects through it. βοΈ
And here's the full conversion map, verbatim, every single cell, no edits, no crumbs left behind:
βββββββββββ¬βββββββ¬βββββββ¬βββββββ¬βββββββ¬βββββββ¬βββββββ¬βββββββ¬βββββββ¬βββββββ¬βββββββ¬βββββββ
β Src/Dst β CSR β CSC β MSR β DIA β ELL β JAD β BSR β BSC β VBR β COO β DNS β
βββββββββββΌβββββββΌβββββββΌβββββββΌβββββββΌβββββββΌβββββββΌβββββββΌβββββββΌβββββββΌβββββββΌβββββββ€
β CSR β β 1 β 1 β 1 β 1 β 1 β 1 β CSC β 1 β 1 β 1 β
βββββββββββΌβββββββΌβββββββΌβββββββΌβββββββΌβββββββΌβββββββΌβββββββΌβββββββΌβββββββΌβββββββΌβββββββ€
β COO β 1 β 1 β 1 β CSR β CSR β CSR β CSR β CSC β CSR β β CSR β
βββββββββββ΄βββββββ΄βββββββ΄βββββββ΄βββββββ΄βββββββ΄βββββββ΄βββββββ΄βββββββ΄βββββββ΄βββββββ΄βββββββ
π little vibe check on the blank cells: aCSR β CSRconversion has no1and no format named, so it goes via CSR (which, yeah, it already is CSR). And aCOO β COOconversion is the same deal β no indication, so it routes through CSR. The table is telling you the routing, not judging you. π
π SEE ALSO π
that's the whole page bestie, you ate it up π this was the Man Page for lis_matrix_convert(3f), dated 6 Sep 2012. go forth and convert, mwah π
π¦ 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