lis_array_mgs(3)

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

✨ lis_array_mgs ✨

okay bestie, so this is a page from the Lis Library Functions manual, and it's all about lis_array_mgs β€” the girl whose whole job is QR factorization via the modified Gram-Schmidt process πŸŽ€


🌸 NAME 🌸

lis_array_mgs β€” calculate the QR factorization with the modified Gram-Schmidt process


πŸ’… SYNOPSIS πŸ’…

#include "lis.h"

LIS_INT lis_array_mgs(LIS_INT n, LIS_SCALAR a[], LIS_SCALAR q[],
LIS_SCALAR r[]);

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically she calculates the QR factorization QR=A with the modified Gram-Schmidt process. That's it, that's the vibe. Iconic, honestly. ✨


πŸ“ INPUT πŸ“

  • n β€” the size of the matrices, no cap
  • a β€” the array that stores matrix A of size n * n

πŸ’œ OUTPUT πŸ’œ

  • q β€” the array that stores matrix Q of size n * n
  • r β€” the array that stores matrix R of size n * n

🌈 EXIT STATUS 🌈

the following exit values are returned, so listen up:

  • 0 β€” the process is normally terminated 🫢 (we love a clean exit)
  • unspecified β€” an error occurred 😭 (not the vibe, but okay, it happens)

⭐ SEE ALSO ⭐


lowkey if you're doing QR factorization, this is the function to call, fr fr πŸ’―

and that's a wrap, bestie πŸ’– that was lis_array_mgs(3) from the Lis Library Functions manual, dated 3 Dec 2014 β€” the page literally just says Man Page down at the bottom, so that's the whole credit roll. go slay some matrices for me πŸ‘‘βœ¨

πŸ“¦ where this page comes from