lis_matrix_set_value(3f)
π lis_matrix_set_value(3f) β bestie's guide to the Lis Library Functions π
okay so. picture this: you've got a matrix. you've got ONE little number. and you need that number to land in exactly the right spot. that's the whole job of lis_matrix_set_value, and honestly? it eats. π
β¨ SYNOPSIS β¨
subroutine lis_matrix_set_value(LIS_INTEGER flag, LIS_INTEGER i,
LIS_INTEGER j, LIS_SCALAR value, LIS_MATRIX A, LIS_INTEGER ierr);
like yes she takes six arguments, she's high maintenance, but she's worth it π«Ά
πΈ DESCRIPTION πΈ
Assign the scalar value to the (i, j)-th element of matrix A. that's it. that's the vibe. you point at a spot in the matrix, you drop a value in, iconic behavior, no notes π
π¦ INPUT π¦
flagβ the mood selector, bestie. it tells her how to put the value in:LIS_INS_VALUEβ overwrite mode β¨A[i, j] = valueLIS_ADD_VALUEβ plus-equals mode π₯A[i, j] = A[i, j] + value
iβ the row number of the matrix. which floor are we on, babe πjβ the column number of the matrix. which door on that floor πͺvalueβ the scalar value to be assigned. the little guy. the payload. the moment π«Aβ the matrix. the main character, lowkey π
π OUTPUT π
Aβ the matrix. yes she comes back changed. glow-up era πΈ
π NOTE π
For the multiprocessing environment, thei-th row and thej-th column of the global matrix must be specified. ngl this part is important, don't skip it π
The functionlis_matrix_set_valuestores the assigned value in a temporary internal format. Therefore, afterlis_matrix_set_valueis called, the functionlis_matrix_assemblemust be called. fr fr. do not forgetlis_matrix_assemble. she will not commit until you do. it's giving situationship π
π SEE ALSO π
okay that's the whole page, you understood all of it, I'm so proud of you, go forth and set values bestie πβ¨π¦πΈππ π«Ά
this has been lis_matrix_set_value(3f) from the Lis Library Functions manual, dated 28 Aug 2014 β mwah, take care of her, bye bye π
π¦ 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