/home/abui...RC/srscl.f(3)
Manual-name check: this page is from the Library Functions Manual, and its page path/title is /home/abui...RC/srscl.f(3). Header info folded in near the top, bestie. π
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/srscl.f
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine SRSCL (n, sa, sx, incx)β SRSCL multiplies a vector by the reciprocal of a real scalar.
π Function/Subroutine Documentation π
subroutine SRSCL (integer n, real sa, real, dimension( * ) sx, integer incx)
SRSCL multiplies a vector by the reciprocal of a real scalar.
πΈ Purpose πΈ
Okay so picture an n-element real vector x. SRSCL multiplies it by the real scalar 1/a, and it does this without overflow or underflow as long as the final result x/a does not overflow or underflow. That's the whole vibe. β¨
π Parameters π
NβNisINTEGER; it's the number of components of the vector x.SAβSAisREAL; this is the scalar a which is used to divide each component of x.SAmust be>= 0, or the subroutine will divide by zero. Respect the boundary, bestie. πSXβSXis aREALarray, dimension(1+(N-1)*abs(INCX)); it's the n-element vector x. πINCXβINCXisINTEGER; it's the increment between successive values of the vectorSX. Specifically:> 0: SX(1) = X(1) and SX(1+(i-1)*INCX) = x(i), 1< i<= n. Slay, indexing. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 83 of file srscl.f.
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code.
Cute sign-off energy: this footer is from LAPACK, Version 3.12.0, with the page path /home/abui...RC/srscl.f(3). Stay sparkling and don't divide by zero, bestie. ππβ¨
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms