lis_matrix_set_size(3f)
β¨ NAME β¨
lis_matrix_set_size β bestie, this is the one that sets the size of your matrix π
(yes, this is a Lis Library Function, from the lis_matrix_set_size(3f) page, and she ate)
π¦ SYNOPSIS π¦
subroutine lis_matrix_set_size(LIS_MATRIX A, LIS_INTEGER local_n,
LIS_INTEGER global_n, LIS_INTEGER ierr);
πΈ DESCRIPTION πΈ
Okay so literally all this does is assign the size of matrix A. That's it. That's the whole vibe. π
π INPUT π
Aβ the matrix itself, the main character πlocal_nβ the number of rows of the partial matrixglobal_nβ the number of rows of the global matrix
π«Ά NOTE π«Ά
Listen up because this part matters fr fr π β you gotta provide either local_n or global_n. Not neither. One of them, bestie.
In the serial and multithreaded environments, local_n is equal to global_n. So both lis_matrix_set_size(A,n,0) and lis_matrix_set_size(A,0,n) create a matrrix of size n x n. (Yes that typo is in the original and I'm keeping it, we don't gatekeep π₯)
For the multiprocessing environment, it's a lil different:
lis_matrix_set_size(A,n,0)creates a partial matrix of sizen x Non each processing element, whereNis the total sum ofn.- On the other hand,
lis_matrix_set_size(A,0,n)creates a partial matrix of sizem_p x non processing elementp. The values ofm_pare determined by the library. No cap, that's just how she runs β¨
π SEE ALSO π
And that's the whole page, gorgeous π β this was the Lis Library Functions page for lis_matrix_set_size(3f), dated 6 Sep 2012, and you absolutely understood all of it. Slay, go set some matrix sizes. πβ¨
π¦ 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