lis_array_matvec_ns(3f)

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

✨ NAME ✨

lis_array_matvec_ns β€” bestie, it calculates the matrix vector product πŸ’– (this is the 3f one, the Fortran girlies' page)


🌸 SYNOPSIS 🌸

subroutine lis_array_matvec_ns(LIS_INTEGER m, LIS_INTEGER n, LIS_SCALAR
a(), LIS_INTEGER lda, LIS_SCALAR x(), LIS_SCALAR y(), LIS_INTEGER op,
LIS_INTEGER ierr);

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the vibe: this routine calculates the matrix-vector product Ax β€” but plot twist, the matrix A is not square. Not a square, not a cube, not a rhombus, just a rectangle doing its thing πŸ’…


πŸŽ€ INPUT πŸŽ€

  • m, n β€” the size of the matrix and the vectors, the little dimension duo πŸ‘‘
  • a β€” the array that stores matrix A, and its size is m * n
  • x β€” the array that stores vector x, size n 🌸
  • y β€” the array that stores vector y, size m
  • op β€” the operation, pick your fighter:
    • LIS_INS_VALUE β€” y = Ax
    • LIS_SUB_VALUE β€” y = y - Ax

🌈 OUTPUT 🌈

  • y β€” y 🫢 (yes bestie, it hands you back your y, no cap)

πŸ‘‘ SEE ALSO πŸ‘‘


ngl that's the whole page, go forth and multiply (matrices, specifically) πŸ”₯

kisses, this was the Lis Library Functions page, rendered as a man page on 3 Dec 2014 β€” mwah, stan πŸ’œ

πŸ“¦ where this page comes from