ZTRRFS(3)
πΈ NAME
Bestie, this page is from the Library Functions Manual and itβs all about ZTRRFS(3) from LAPACK. The official NAME is that whole build-path situation, no cap:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/ztrrfs.f
β¨ SYNOPSIS
π§ Functions/Subroutines
Hereβs the call, verbatim, because we do not play fast and loose with signatures π :
subroutine ZTRRFS (uplo, trans, diag, n, nrhs, a, lda, b, ldb, x, ldx,
ferr, berr, work, rwork, info)
ZTRRFS
π Function/Subroutine Documentation
π subroutine ZTRRFS
Full signature, copied exactly because she is iconic and we respect her:
subroutine ZTRRFS (character uplo, character trans, character diag, integer
n, integer nrhs, complex*16, dimension( lda, * ) a, integer lda,
complex*16, dimension( ldb, * ) b, integer ldb, complex*16, dimension(
ldx, * ) x, integer ldx, double precision, dimension( * ) ferr, double
precision, dimension( * ) berr, complex*16, dimension( * ) work, double
precision, dimension( * ) rwork, integer info)
ZTRRFS
π¦ Purpose
Okay so ZTRRFS gives you error bounds and backward error estimates for the solution to a system of linear equations with a triangular coefficient matrix. Thatβs the whole assignment, fr fr.
The solution matrix X must be computed by ZTRTRS or some other means before entering this routine. Important: ZTRRFS does not do iterative refinement, because doing so cannot improve the backward error. Not me pointing at the βno extra glow-upβ rule π
π Parameters
UPLOβCHARACTER*1.= 'U':Ais upper triangular;= 'L':Ais lower triangular.TRANSβCHARACTER*1. Specifies the form of the system of equations:= 'N':A * X = B(No transpose);= 'T':A**T * X = B(Transpose);= 'C':A**H * X = B(Conjugate transpose).DIAGβCHARACTER*1.= 'N':Ais non-unit triangular;= 'U':Ais unit triangular.NβINTEGER. The order of the matrixA.N >= 0.NRHSβINTEGER. The number of right hand sides, i.e., the number of columns of the matricesBandX.NRHS >= 0.AβCOMPLEX*16array, dimension(LDA,N). The triangular matrixA. IfUPLO = 'U', the leadingN-by-Nupper triangular part of the arrayAcontains the upper triangular matrix, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leadingN-by-Nlower triangular part of the arrayAcontains the lower triangular matrix, and the strictly upper triangular part ofAis not referenced. IfDIAG = 'U', the diagonal elements ofAare also not referenced and are assumed to be1.LDAβINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).BβCOMPLEX*16array, dimension(LDB,NRHS). The right hand side matrixB.LDBβINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).XβCOMPLEX*16array, dimension(LDX,NRHS). The solution matrixX.LDXβINTEGER. The leading dimension of the arrayX.LDX >= max(1,N).FERRβDOUBLE PRECISIONarray, dimension(NRHS). The estimated forward error bound for each solution vectorX(j)(thej-th column of the solution matrixX). IfXTRUEis the true solution corresponding toX(j),FERR(j)is an estimated upper bound for the magnitude of the largest element in(X(j) - XTRUE)divided by the magnitude of the largest element inX(j). The estimate is as reliable as the estimate forRCOND, and is almost always a slight overestimate of the true error.BERRβDOUBLE PRECISIONarray, dimension(NRHS). The componentwise relative backward error of each solution vectorX(j)(i.e., the smallest relative change in any element ofAorBthat makesX(j)an exact solution).WORKβCOMPLEX*16array, dimension(2*N).RWORKβDOUBLE PRECISIONarray, dimension(N).INFOβINTEGER.= 0: successful exit;< 0: ifINFO = -i, thei-th argument had an illegal value.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 180 of file ztrrfs.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
Mwah π β thatβs the whole vibe: LAPACK, Version 3.12.0, footer path /home/abui...RC/ztrrfs.f(3), and no date line on this one, bestie, so no fake-date energy πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms