lis_matrix_set_value(3)
π lis_matrix_set_value β bestie's guide to yeeting a value into a matrix π
okay so this is a page from the Lis Library Functions manual (section 3, the library-functions girlies π
), and it's about lis_matrix_set_value. it's giving "let me put ONE little number exactly where it belongs." no cap.
β¨ NAME β¨
lis_matrix_set_value β assign the scalar value to the element of the matrix π«Ά
πΈ SYNOPSIS πΈ
#include "lis.h"
LIS_INT lis_matrix_set_value(LIS_INT flag, LIS_INT i, LIS_INT j,
LIS_SCALAR value, LIS_MATRIX A);
like yes she takes five args and she's not sorry about it π
π¦ DESCRIPTION π¦
Assign the scalar value to the (i, j)-th element of matrix A. that's it. that's the whole vibe. one number, one slot, main character energy β¨
π INPUT π
flagβ the little mode switch that decides how the value gets dropped in πLIS_INS_VALUEβ straight up insert mode, babes:A[i, j] = valueLIS_ADD_VALUEβ add-to-what's-already-there mode:A[i, j] = A[i, j] + value
iβ The row number of the matrix πjβ The column number of the matrix πvalueβ The scalar value to be assigned πAβ The matrix π§
π OUTPUT π
Aβ The matrix π (she's been updated, she's different now, glow-up complete)
π EXIT STATUS π
The following exit values are returned:
0β The process is normally terminated π everything slayed, no notesunspecifiedβ An error occurred π something went wrong and the vibes are off
π NOTE π
For the multiprocessing environment, thei-th row and thej-th column of the global matrix must be specified. iykyk β don't go handing her local coordinates and then act surprised.
The function lis_matrix_set_value stores the assigned value in a temporary internal format. Therefore, after lis_matrix_set_value is called, the function lis_matrix_assemble must be called. fr fr, do NOT forget this one β you set the value, then you assemble, periodt. π
π₯ SEE ALSO π₯
that's the whole page bestie, go forth and populate your matrix π β¨
this icon was lovingly served up as lis_matrix_set_value(3) from the Lis Library Functions, dated 28 Aug 2014 β catch you in the man pages, mwah π«Άπ
π¦ where this page comes from
- fedora 43: lis-doc 2.0.21-13.fc41 Β· BSD
- fedora 43: lis-doc 2.1.11-1.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: lis-doc 2.0.21-13.fc41 Β· BSD
- fedora 44: lis-doc 2.1.11-1.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: lis 2.1.10
- nixpkgs unstable: lis 2.1.16
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms