lis_array_scale(3f)
β¨ lis_array_scale(3f) β¨
okay bestie, welcome to the Lis Library Functions manual, and today's main character is lis_array_scale π it's a lil Fortran situation and it does exactly one thing and it does it flawlessly, no notes.
πΈ NAME πΈ
lis_array_scale β multiply the vector by the scalar π«Ά
literally that's it. that's the whole job. and she ate.
π SYNOPSIS π
subroutine lis_array_scale(LIS_INTEGER n, LIS_SCALAR alpha, LIS_SCALAR
x(), LIS_INTEGER ierr);
π DESCRIPTION π
Multiply vector x by scalar alpha. π¦
that's the vibe. you hand her a vector, you hand her a number, she hands you back the vector but scaled. it's giving math but make it cute. no cap.
π INPUT π
nβ the size of the vector π like how many lil guys are in therealphaβ the scalar valuealphaβ¨ the number doing the multiplyingxβ the array that stores the vector π your actual data, bestie
π OUTPUT π
xβalpha * x(vectorxis overwritten) π
heads up bestie:xgets overwritten fr fr. your original values are gone gone, replaced byalpha * x. if you needed the old ones, that's on you to save them first π
π§ SEE ALSO π§
and that's the whole page, periodt π this was the lis_array_scale(3f) man page from the Lis Library Functions, dated 3 Dec 2014. go forth and scale your vectors, icon π
π¦ 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