slassq.f(3)
๐
slassq.f(3) โ SLASSQ, but make it cute ๐
Welcome to the slassq.f manual page, bestie. This is the LAPACK routine SLASSQ, and it is literally here to update a sum of squares represented in scaled form. No cap. โจ
๐ธ NAME ๐ธ
slassq.f โ the file name, bestie. The routine inside is SLASSQ, and it updates a sum of squares represented in scaled form. That's the whole vibe. ๐ซถ
โจ SYNOPSIS โจ
๐ Functions/Subroutines ๐
subroutine slassq (N, X, INCX, SCALE, SUMSQ)โ SLASSQ updates a sum of squares represented in scaled form.
๐งฎ Function/Subroutine Documentation ๐งฎ
subroutine slassq (integer N, real, dimension( * ) X, integer INCX, real
SCALE, real SUMSQ)
SLASSQ updates a sum of squares represented in scaled form. ๐
๐ฏ Purpose ๐ฏ
Okay so SLASSQ returns the values scl and smsq such that
( scl**2 )*smsq = x( 1 )**2 +...+ x( n )**2 + ( scale**2 )*sumsq,
where
where x( i ) = X( 1 + ( i - 1 )*INCX ). The value of sumsq is
assumed to be non-negative and scl returns the value
scl = max( scale, abs( x( i ) ) ).
scale and sumsq must be supplied in SCALE and SUMSQ, and scl and smsq are overwritten on SCALE and SUMSQ respectively. The routine makes only one pass through the vector x. ๐โโ๏ธ๐จ
๐งธ Parameters ๐งธ
NโN is INTEGER. The number of elements to be used from the vectorX.XโX is REAL array, dimension (N). The vector for which a scaled sum of squares is computed. And the indexing is exactlyx( i ) = X( 1 + ( i - 1 )*INCX ), 1 <= i <= n.INCXโINCX is INTEGER. The increment between successive values of the vectorX.INCX > 0.SCALEโSCALE is REAL. On entry, the valuescalein the equation above. On exit,SCALEis overwritten withscl, the scaling factor for the sum of squares.SUMSQโSUMSQ is REAL. On entry, the valuesumsqin the equation above. On exit,SUMSQis overwritten withsmsq, the basic sum of squares from whichsclhas been factored out.
๐ Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
๐ Date ๐
December 2016
Definition at line 105 of file slassq.f.
๐ช Author ๐ช
Generated automatically by Doxygen for LAPACK from the source code.
Byeee bestie โ LAPACK source version 3.8.0, dated Tue Nov 14 2017, signing off from the slassq.f(3) page ๐๐ซถ๐
๐ฆ where this page comes from
- centos-stream 9: lapack 3.9.0-10.el9 ยท BSD
- centos-stream 9: lapack 3.9.0-10.el9 ยท BSD
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms