SRC/zsyr.f(3)
SRC/zsyr.f from the Library Functions Manual β okay bestie, this oneβs a whole little routine and itβs lowkey iconic. π«Ά
πΈ NAME πΈ
SRC/zsyr.f
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine zsyr (uplo, n, alpha, x, incx, a, lda)βZSYRperforms the symmetric rank-1 update of a complex symmetric matrix.
π Function/Subroutine Documentation π
subroutine zsyr (character uplo, integer n, complex*16 alpha, complex*16, dimension( * ) x, integer incx, complex*16, dimension( lda, * ) a, integer lda)
ZSYR performs the symmetric rank-1 update of a complex symmetric matrix.
π Purpose π
Okay so ZSYR 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.
π Parameters π
UPLOβUPLO is CHARACTER*1. On entry,UPLOspecifies whether the upper or lower triangular part of the arrayAis to be referenced as follows: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.
NβN is INTEGER. On entry,Nspecifies the order of the matrixA.Nmust be at least zero. Unchanged on exit.ALPHAβALPHA is COMPLEX*16. On entry,ALPHAspecifies the scalaralpha. Unchanged on exit.XβX is COMPLEX*16 array, dimension at least ( 1 + ( N - 1 )*abs( INCX ) ). Before entry, the incremented arrayXmust contain theN-element vectorx. Unchanged on exit.INCXβINCX is INTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. Unchanged on exit.AβA is COMPLEX*16 array, dimension ( LDA, N ). Before entry, withUPLO = 'U'or'u', 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. Before entry, withUPLO = 'L'or'l', 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.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.
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 134 of file zsyr.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole vibe check, bestie! Signing off from SRC/zsyr.f(3), LAPACK Version 3.12.0 β muah π
π¦ 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