TESTING/LIN/cspt02.f(3)
π TESTING/LIN/cspt02.f(3) β Library Functions Manual π
okay bestie, welcome to the TESTING/LIN/cspt02.f(3) page from the Library Functions Manual β it's giving tiny subroutine, big main character energy, and we are keeping every single detail, fr fr. π
β¨ NAME β¨
TESTING/LIN/cspt02.f
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine cspt02 (uplo, n, nrhs, a, x, ldx, b, ldb, rwork, resid)βCSPT02
πΈ Function/Subroutine Documentation πΈ
subroutine cspt02 (character uplo, integer n, integer nrhs, complex,
dimension( * ) a, complex, dimension( ldx, * ) x, integer ldx, complex,
dimension( ldb, * ) b, integer ldb, real, dimension( * ) rwork, real
resid)
CSPT02
Purpose:
CSPT02 computes the residual in the solution of a complex symmetric system of linear equations A*x = b when packed storage is used for the coefficient matrix. The ratio computed is:
RESID = norm( B - A*X ) / ( norm(A) * norm(X) * EPS).
where EPS is the machine precision.
Parameters
UPLOβUPLO is CHARACTER*1. It specifies whether the upper or lower triangular part of the complex symmetric matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
NβN is INTEGER. The number of rows and columns of the matrixA.N >= 0.NRHSβNRHS is INTEGER. The number of columns ofB, the matrix of right hand sides.NRHS >= 0.AβA is COMPLEX array, dimension (N*(N+1)/2). The original complex symmetric matrixA, stored as a packed triangular matrix.XβX is COMPLEX array, dimension (LDX,NRHS). The computed solution vectors for the system of linear equations.LDXβLDX is INTEGER. The leading dimension of the arrayX.LDX >= max(1,N).BβB is 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.LDBβLDB is INTEGER. The leading dimension of the arrayB.LDB >= max(1,N).RWORKβRWORK is REAL array, dimension (N).RESIDβRESID is 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 121 of file cspt02.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
cute sign-off: LAPACK, Version 3.12.0 came through from the footer for TESTING/LIN/cspt02.f(3) β no date listed, bestie, so thatβs the whole footer vibe. mwah πβ¨
π¦ 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