lis_matrix_convert(3)

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

πŸ’– NAME πŸ’–

okay bestie, welcome to the lis_matrix_convert(3) manual page β€” it's giving matrix glow-up energy and we're obsessed πŸ’…

lis_matrix_convert β€” convert the matrix format


✨ SYNOPSIS ✨

#include "lis.h"

LIS_INT lis_matrix_convert(LIS_MATRIX Ain, LIS_MATRIX Aout);

🌸 DESCRIPTION 🌸

So the tea is: this function takes matrix Ain and converts it into Aout, and the format of Aout is whatever you set with lis_matrix_set_type. That's it, that's the whole vibe. periodt.


πŸŽ€ INPUT πŸŽ€

  • Ain β€” the source matrix, aka your starting material, the before pic if you will.

πŸ¦‹ OUTPUT πŸ¦‹

  • Aout β€” the destination matrix, where the after glow-up lands.

πŸ’… EXIT STATUS πŸ’…

The following exit values are returned:

  • 0 β€” the process is normally terminated. slay.
  • unspecified β€” an error occurred. not slay, bestie.

πŸ”₯ NOTE πŸ”₯

okay so important details, no cap:

The storage format of Aout is set by lis_matrix_set_type. The block size of the BSR, BSC, and VBR formats is set by lis_matrix_set_blocksize.

The conversions indicated by 1 in the table below are performed directly, and the other ones are performed via the indicated formats. The conversions with no indication are performed via the CSR format.

Here's the full conversion matrix, but as a list because tables are not the vibe:

Source: CSR

  • CSR β†’ CSR: (blank, no indication) β€” via CSR
  • CSR β†’ CSC: 1 (direct)
  • CSR β†’ MSR: 1 (direct)
  • CSR β†’ DIA: 1 (direct)
  • CSR β†’ ELL: 1 (direct)
  • CSR β†’ JAD: 1 (direct)
  • CSR β†’ BSR: 1 (direct)
  • CSR β†’ BSC: via CSC
  • CSR β†’ VBR: 1 (direct)
  • CSR β†’ COO: 1 (direct)
  • CSR β†’ DNS: 1 (direct)

Source: COO

  • COO β†’ CSR: 1 (direct)
  • COO β†’ CSC: 1 (direct)
  • COO β†’ MSR: 1 (direct)
  • COO β†’ DIA: via CSR
  • COO β†’ ELL: via CSR
  • COO β†’ JAD: via CSR
  • COO β†’ BSR: via CSR
  • COO β†’ BSC: via CSC
  • COO β†’ VBR: via CSR
  • COO β†’ COO: (blank, no indication) β€” via CSR
  • COO β†’ DNS: via CSR

🌈 SEE ALSO 🌈


okay that's the whole thing bestie, this was the lis_matrix_convert(3) man page from the Man Page source/version, dated 6 Sep 2012. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from