lis_matrix_get_size(3)

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

πŸ’– lis_matrix_get_size(3) πŸ’–

okay bestie, so this one is from the Lis Library Functions manual and it's literally the cutest lil utility β€” it just tells you how big your matrix is. no cap. that's the whole vibe. πŸ¦‹


✨ NAME ✨

lis_matrix_get_size β€” get the size of the matrix πŸ‘‘


🌸 SYNOPSIS 🌸

#include "lis.h"

LIS_INT lis_matrix_get_size(LIS_MATRIX A, LIS_INT *local_n, LIS_INT *global_n);

πŸ’… DESCRIPTION πŸ’…

Get the size of matrix A. that's it. that's the function. she's simple, she's iconic, she serves. πŸŽ€


🫢 INPUT 🫢

  • A β€” the matrix, obviously. your main character matrix. the one you're measuring. πŸ“

🌈 OUTPUT 🌈

  • local_n β€” the size of the partial matrix (iykyk β€” this is the chunk of the matrix that this process is holding onto πŸ’–)
  • global_n β€” the size of the global matrix (the whole entire thing, the full picture, the big picture energy ✨)

πŸ’€ EXIT STATUS πŸ’€

here's what you can get back, bestie:

  • 0 β€” the process is normally terminated. slay. everything worked. πŸ₯³
  • unspecified β€” an error occurred. not slay. 😭

⭐ NOTE ⭐

important lore: in the case of the serial and multithreaded environments, local_n is equal to global_n. so like... they're the same number. twins. matching. no difference at all. don't overthink it. πŸ’œ

🧚 SEE ALSO 🧚


okay that's the whole page, periodt. πŸ’–βœ¨

this was the lis_matrix_get_size(3) page, man page edition, dated 6 Sep 2012, brought to you by the Lis Library Functions crew β€” ily, go read lis(3) next bestie 🫢🌸

πŸ“¦ where this page comes from