TESTING/LIN/zspt02.f(3)
π TESTING/LIN/zspt02.f(3) β Library Functions Manual
π NAME
TESTING/LIN/zspt02.f
β¨ SYNOPSIS
πΈ Functions/Subroutines
subroutine zspt02 (uplo, n, nrhs, a, x, ldx, b, ldb, rwork, resid)
ZSPT02
π§ Function/Subroutine Documentation
subroutine zspt02 (character uplo, integer n, integer nrhs, complex*16,
dimension( * ) a, complex*16, dimension( ldx, * ) x, integer ldx,
complex*16, dimension( ldb, * ) b, integer ldb, double precision,
dimension( * ) rwork, double precision resid)
ZSPT02 β okay bestie, this is the subroutine in question, and itβs giving linear-algebra residual-check realness π
π Purpose
So ZSPT02 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. Periodt. β¨
π Parameters
UPLOβCHARACTER*1; specifies whether the upper or lower triangular part of the complex 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*16 array, dimension (N*(N+1)/2); the original complex symmetric matrixA, stored as a packed triangular matrix.XβCOMPLEX*16 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*16 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βINTEGER; the leading dimension of the arrayB.LDB >= max(1,N).RWORKβDOUBLE PRECISION array, dimension (N).RESIDβDOUBLE PRECISION; 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 zspt02.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
π«Ά Thatβs the whole vibe: LAPACK, Version 3.12.0, page TESTING/LIN/zspt02.f(3). Bye 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