/home/abui...RC/dlasr.f(3)
π NAME
ok so this is the manual page for /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlasr.f β yes that's the whole entire path, she's long, she's iconic, she's from the Library Functions Manual, bestie. dlasr.f(3), if you're nasty. β¨
πΈ SYNOPSIS
Functions/Subroutines
subroutine DLASR (side, pivot, direct, m, n, c, s, a, lda)
DLASR applies a sequence of plane rotations to a general rectangular matrix. that's the whole vibe, fr fr π¦
π Function/Subroutine Documentation
subroutine DLASR (character side, character pivot, character direct, integer m, integer n, double precision, dimension( * ) c, double precision, dimension( * ) s, double precision, dimension( lda, * ) a, integer lda)
DLASR applies a sequence of plane rotations to a general rectangular matrix. lowkey the entire personality of this routine tbh π
β Purpose:
!>
!> DLASR applies a sequence of plane rotations to a real matrix A,
!> from either the left or the right.
!>
!> When SIDE = 'L', the transformation takes the form
!>
!> A := P*A
!>
!> and when SIDE = 'R', the transformation takes the form
!>
!> A := A*P**T
!>
!> where P is an orthogonal matrix consisting of a sequence of z plane
!> rotations, with z = M when SIDE = 'L' and z = N when SIDE = 'R',
!> and P**T is the transpose of P.
!>
!> When DIRECT = 'F' (Forward sequence), then
!>
!> P = P(z-1) * ... * P(2) * P(1)
!>
!> and when DIRECT = 'B' (Backward sequence), then
!>
!> P = P(1) * P(2) * ... * P(z-1)
!>
!> where P(k) is a plane rotation matrix defined by the 2-by-2 rotation
!>
!> R(k) = ( c(k) s(k) )
!> = ( -s(k) c(k) ).
!>
!> When PIVOT = 'V' (Variable pivot), the rotation is performed
!> for the plane (k,k+1), i.e., P(k) has the form
!>
!> P(k) = ( 1 )
!> ( ... )
!> ( 1 )
!> ( c(k) s(k) )
!> ( -s(k) c(k) )
!> ( 1 )
!> ( ... )
!> ( 1 )
!>
!> where R(k) appears as a rank-2 modification to the identity matrix in
!> rows and columns k and k+1.
!>
!> When PIVOT = 'T' (Top pivot), the rotation is performed for the
!> plane (1,k+1), so P(k) has the form
!>
!> P(k) = ( c(k) s(k) )
!> ( 1 )
!> ( ... )
!> ( 1 )
!> ( -s(k) c(k) )
!> ( 1 )
!> ( ... )
!> ( 1 )
!>
!> where R(k) appears in rows and columns 1 and k+1.
!>
!> Similarly, when PIVOT = 'B' (Bottom pivot), the rotation is
!> performed for the plane (k,z), giving P(k) the form
!>
!> P(k) = ( 1 )
!> ( ... )
!> ( 1 )
!> ( c(k) s(k) )
!> ( 1 )
!> ( ... )
!> ( 1 )
!> ( -s(k) c(k) )
!>
!> where R(k) appears in rows and columns k and z. The rotations are
!> performed without ever forming P(k) explicitly.
!>
okay so real talk β those matrices? she's showing you the shape of each rotation, and the last line is the flex: the rotations get performed without ever forming P(k) explicitly. no cap, that's the whole point. efficient queen behavior πβ¨
π§ Parameters
SIDEβSIDE is CHARACTER*1. tells us whether the plane rotation matrixPgets applied toAon the left or on the right. the deets:= 'L':Left, computeA := P*A= 'R':Right, computeA:= A*P**T
PIVOTβPIVOT is CHARACTER*1. which plane isP(k)a plane rotation matrix for? choose ur fighter:= 'V':Variable pivot, the plane(k,k+1)= 'T':Top pivot, the plane(1,k+1)= 'B':Bottom pivot, the plane(k,z)
DIRECTβDIRECT is CHARACTER*1. isPa forward or backward sequence of plane rotations? π¦MβM is INTEGER. the number of rows of the matrixA. β οΈ and listen: ifm <= 1, an immediate return is effected. she is NOT doing the work, she's leaving. periodt πNβN is INTEGER. the number of columns of the matrixA. same energy: ifn <= 1, an immediate return is effected. bye bestie πCβC is DOUBLE PRECISION array, dimension:
(M-1) if SIDE = 'L'
(N-1) if SIDE = 'R'
these are the cosines c(k) of the plane rotations. the c's!! π
SβS is DOUBLE PRECISION array, dimension:
(M-1) if SIDE = 'L'
(N-1) if SIDE = 'R'
these are the sines s(k) of the plane rotations. and just so u know exactly what she's cooking, the 2-by-2 plane rotation part of the matrix P(k), R(k), has the form:
R(k) = ( c(k) s(k) )
( -s(k) c(k) ).
AβA is DOUBLE PRECISION array, dimension(LDA,N). theM-by-NmatrixA. π and heads up, on exit,Ais overwritten byP*AifSIDE = 'L'or byA*P**TifSIDE = 'R'. so yeah she does NOT ask permission, she replaces ur data. slay but be aware πLDAβLDA is INTEGER. the leading dimension of the arrayA. constraint, and this one is not vibes-optional:LDA >= max(1,M). π₯
π«Ά Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 198 of file dlasr.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
β¨ and that's the whole page bestie β¨ this lil manual was brought to you by LAPACK, Version 3.12.0 π β auto-generated by Doxygen for LAPACK straight from the source code, from /home/abui...RC/dlasr.f(3). go forth and rotate some planes π
π¦πΈ
π¦ 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