lis_matvect(3)

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

πŸ’– lis_matvect πŸ’–

okay bestie, so this is lis_matvect from section 3 of the Lis Library Functions manual, and it's literally the glow-up you need when you want a transposed matrix-vector product and you want it now. πŸ¦‹


🌸 NAME 🌸

lis_matvect β€” calculate the matrix vector product ✨

(and yes, the name is giving "matrix vector product" but the actual math is doing the transposed one, we'll get there, keep reading bestie πŸ’…)


✨ SYNOPSIS ✨

#include "lis.h"

LIS_INT lis_matvect(LIS_MATRIX A, LIS_VECTOR x, LIS_VECTOR y);

like, that's it. one include, one function call, main character energy πŸ‘‘


πŸ’« DESCRIPTION πŸ’«

Calculate the transposed matrix vector product y = A^T x.

no cap, that's the whole vibe. you hand it a matrix, you hand it a vector, and it hands you back A transposed, times x. iconic behavior fr fr πŸ”₯


πŸŽ€ INPUT πŸŽ€

  • A β€” The matrix 🧚 the big rectangular situation, the source of all the tea
  • x β€” The vector 🌈 the little list of numbers getting multiplied

🫢 OUTPUT 🫢

  • y β€” A^T x πŸ’– this is what you get back, the transposed product, served fresh

⭐ EXIT STATUS ⭐

The following exit values are returned:

  • 0 β€” The process is normally terminated βœ… slay, everything worked, we love to see it
  • unspecified β€” An error occurred πŸ’€ not the vibe. something went wrong and the details are, uh, unspecified. lowkey ominous ngl

πŸ” SEE ALSO πŸ”


and that's the page, bestie!! this one came straight out of the Lis Library Functions manual, lis_matvect(3), dated 6 Sep 2012 β€” yeah she's an elder but she still ate πŸ’…βœ¨ go forth and transpose responsibly πŸŽ€

πŸ“¦ where this page comes from