SRC/csyr.f(3)
π SRC/csyr.f β like, the whole page, bestie
So this is a Library Functions Manual page for SRC/csyr.f, and honestly? It's giving "small file, big main character energy." Sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
SRC/csyr.f β bestie, that's the whole name. Short, sweet, iconic. Periodt.
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine csyr (uplo, n, alpha, x, incx, a, lda)β CSYR performs the symmetric rank-1 update of a complex symmetric matrix. That's it, that's the whole vibe check.
π¦ Function/Subroutine Documentation π¦
subroutine csyr (character uplo, integer n, complex alpha, complex,
dimension( * ) x, integer incx, complex, dimension( lda, * ) a, integer
lda)
CSYR performs the symmetric rank-1 update of a complex symmetric matrix. No cap, that's literally what it does π
π Purpose:
!>
!> CSYR performs the symmetric rank 1 operation
!>
!> A := alpha*x*x**H + A,
!>
!> where alpha is a complex scalar, x is an n element vector and A is an
!> n by n symmetric matrix.
!>
So like β it takes your matrix A and does this whole A := alpha*x*x**H + A glow-up on it. β¨ Obsessed.
π Parameters π
Okay here come the parameters, and yes we're doing all of them, don't skip, that's not the vibe π
UPLOβUPLO is CHARACTER*1. On entry, UPLO tells you whether the upper or lower triangular part of the arrayAis gonna be referenced, like so:UPLO = 'U'or'u'β only the upper triangular part ofAis to be referenced πUPLO = 'L'or'l'β only the lower triangular part ofAis to be referenced π
Unchanged on exit. She stays the same, always.
NβN is INTEGER. On entry,Nspecifies the order of the matrixA.Nmust be at least zero. Unchanged on exit. Respect the zero, bestie, it's the floor πALPHAβALPHA is COMPLEX. On entry,ALPHAspecifies the scalar alpha. Unchanged on exit. She's the multiplier of the group chat, lowkey the moment.XβX is COMPLEX array, dimension at least ( 1 + ( N - 1 )*abs( INCX ) ). Before entry, the incremented arrayXmust contain theN-element vector x. Unchanged on exit. Calculator said( 1 + ( N - 1 )*abs( INCX ) )and she's not wrong πINCXβINCX is INTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. π¨ Like, fr fr, it cannot be zero. Unchanged on exit.AβA is COMPLEX array, dimension ( LDA, N ). Here's the tea, and it depends on yourUPLO:- With
UPLO = 'U'or'u': before entry, the leading n by n upper triangular part of the arrayAmust contain the upper triangular part of the symmetric matrix, and the strictly lower triangular part ofAis not referenced. On exit, the upper triangular part of the arrayAis overwritten by the upper triangular part of the updated matrix. - With
UPLO = 'L'or'l': before entry, the leading n by n lower triangular part of the arrayAmust contain the lower triangular part of the symmetric matrix, and the strictly upper triangular part ofAis not referenced. On exit, the lower triangular part of the arrayAis overwritten by the lower triangular part of the updated matrix.
- With
Overwritten!! π She gets a whole new look on exit and we love that for her.
LDAβLDA is INTEGER. On entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, N ). Unchanged on exit. Notmax( 0, N ), bestie β it'smax( 1, N ), write it down. π«Ά
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
A whole squad. Group project that actually ate. π₯
Definition at line 134 of file csyr.f.
β Author (yes, another one) β
Generated automatically by Doxygen for LAPACK from the source code. Not me writing my own page β a robot did the honors. π€β¨
Heads up: this file was auto-generated, so if you're out here editing it by hand, that update's not gonna stick. iykyk.
π Okay so that's the whole page! Cute little sign-off: this is LAPACK, Version 3.12.0, and the page itself is SRC/csyr.f(3). Go forth and do your symmetric rank-1 updates responsibly, bestie πβ¨π
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms