BLAS/SRC/cher2.f(3)
π NAME π
BLAS/SRC/cher2.f β thatβs the file-page name, bestie. This is BLAS/SRC/cher2.f(3) from the Library Functions Manual, and we are absolutely in the BLAS/LAPACK cinematic universe rn. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine cher2 (uplo, n, alpha, x, incx, y, incy, a, lda)
CHER2 β iconic, honestly.
π«Ά Function/Subroutine Documentation π«Ά
okay so the full signature is literally this:
subroutine cher2 (character uplo, integer n, complex alpha, complex,
dimension(*) x, integer incx, complex, dimension(*) y, integer incy,
complex, dimension(lda,*) a, integer lda)
CHER2 β main character energy, no cap.
π Purpose π
CHER2 performs the hermitian rank 2 operation:
A := alpha*x*y**H + conjg( alpha )*y*x**H + A,
where alpha is a scalar, x and y are n element vectors and A is an n by n hermitian matrix. π
π Parameters π
UPLOβ isCHARACTER*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. π
Nβ isINTEGER. On entry,Nspecifies the order of the matrixA.Nmust be at least zero. β¨ALPHAβ isCOMPLEX. On entry,ALPHAspecifies the scalaralpha. π¦Xβ isCOMPLEX array, dimension at least ( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented arrayXmust contain the n element vectorx. πΈINCXβ isINTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. π₯Yβ isCOMPLEX array, dimension at least ( 1 + ( n - 1 )*abs( INCY ) ). Before entry, the incremented arrayYmust contain the n element vectory. π«ΆINCYβ isINTEGER. On entry,INCYspecifies the increment for the elements ofY.INCYmust not be zero. π₯Aβ isCOMPLEX 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 hermitian 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 hermitian 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. Note that the imaginary parts of the diagonal elements need not be set, they are assumed to be zero, and on exit they are set to zero. πLDAβ isINTEGER. On entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, n ). π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π₯ Further Details π₯
Level 2 Blas routine.-- Written on 22-October-1986.- Jack Dongarra, Argonne National Lab.
- Jeremy Du Croz, Nag Central Office.
- Sven Hammarling, Nag Central Office.
- Richard Hanson, Sandia National Labs.
Definition at line 149 of file cher2.f. πβ¨
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
Final footer energy: LAPACK Version 3.12.0 β’ BLAS/SRC/cher2.f(3) β and the Further Details keeps that 22-October-1986 date alive. Periodt. π
π
π¦ 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