lis_matrix_set_type(3f)

πŸ“¦ version 2.1.11, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

πŸ’– 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 makeover
  • matrix_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