TESTING/LIN/csyt02.f(3)
π NAME π
TESTING/LIN/csyt02.f β yes bestie, thatβs the page. Itβs the manual home for the csyt02 subroutine in the TESTING/LIN corner of LAPACK. Iconic file path, no cap. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
Okay so the callable vibe is literally this:
subroutine csyt02 (uplo, n, nrhs, a, lda, x, ldx, b, ldb, rwork, resid)
CSYT02
π¦ Function/Subroutine Documentation π¦
Hereβs the full signature, character-for-character, because we do not play with exact code:
subroutine csyt02 (character uplo, integer n, integer nrhs, complex,
dimension( lda, * ) a, integer lda, complex, dimension( ldx, * ) x,
integer ldx, complex, dimension( ldb, * ) b, integer ldb, real,
dimension( * ) rwork, real resid)
CSYT02
CSYT02
πΈ Purpose πΈ
Okay so CSYT02 computes the residual for a solution to a complex symmetric system of linear equations A*x = b:
RESID = norm(B - A*X) / ( norm(A) * norm(X) * EPS ),
where EPS is the machine epsilon. Thatβs the whole purpose, and it ate. π
π Parameters π
UPLOβCHARACTER*1. Specifies whether the upper or lower triangular part of the symmetric matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
NβINTEGER. The number of rows and columns of the matrixA.N >= 0.NRHSβINTEGER. The number of columns ofB, the matrix of right hand sides.NRHS >= 0.AβCOMPLEX array, dimension (LDA,N). The original complex symmetric matrixA.LDAβINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).XβCOMPLEX array, dimension (LDX,NRHS). The computed solution vectors for the system of linear equations.LDXβINTEGER. The leading dimension of the arrayX.LDX >= max(1,N).BβCOMPLEX array, dimension (LDB,NRHS). On entry, the right hand side vectors for the system of linear equations. On exit,Bis overwritten with the differenceB - A*X.
Bestie, watch out:Bgets overwritten on exit withB - A*X. Thatβs not a drill, thatβs literally the spec. π«Ά
LDBβINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).RWORKβREAL array, dimension (N).RESIDβREAL. The maximum over the number of right hand sides ofnorm(B - A*X) / ( norm(A) * norm(X) * EPS ).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 125 of file csyt02.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Not me being auto-generated and still serving main character energy. β¨
Thatβs the whole page, bestie. Footer tea: LAPACK, Version 3.12.0, TESTING/LIN/csyt02.f(3) β no date listed in this footer, so weβre not inventing one, 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