CTRT03(3)
π NAME π
Okay bestie, welcome to the ctrt03.f(3) page in the Library Functions Manual β manual name folded in right here at the top, as requested. Itβs giving test-routine realness, and the file this page is repping is literally:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/ctrt03.f
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine CTRT03 (uplo, trans, diag, n, nrhs, a, lda, scale, cnorm,
tscal, x, ldx, b, ldb, work, resid)
CTRT03 is the function/subroutine weβre serving on this page. Main character energy, honestly.
π Function/Subroutine Documentation π
subroutine CTRT03 (character uplo, character trans, character diag, integer
n, integer nrhs, complex, dimension( lda, * ) a, integer lda, real
scale, real, dimension( * ) cnorm, real tscal, complex, dimension( ldx,
* ) x, integer ldx, complex, dimension( ldb, * ) b, integer ldb,
complex, dimension( * ) work, real resid)
Purpose:
CTRT03 computes the residual for the solution to a scaled triangular system of equations A*x = s*b, A**T *x = s*b, or A**H *x = s*b. In this little situation: A is a triangular matrix, A**T means the transpose of A, A**H means the conjugate transpose of A, s is a scalar, and x and b are N by NRHS matrices.
The test ratio is the maximum over the number of right hand sides of
norm(s*b - op(A)*x) / ( norm(op(A)) * norm(x) * EPS ),
where op(A) means A, A**T, or A**H, and EPS is the machine epsilon. Math is mathing. β¨
Parameters
UPLOβCHARACTER*1. This one says whether matrixAis upper or lower triangular.= 'U': upper triangular.= 'L': lower triangular.TRANSβCHARACTER*1. This one says which operation gets applied toA.= 'N':A *x = s*b(no transpose).= 'T':A**T *x = s*b(transpose).= 'C':A**H *x = s*b(conjugate transpose).DIAGβCHARACTER*1. This one says whetherAis unit triangular or not.= 'N': non-unit triangular.= 'U': unit triangular.NβINTEGER. The order of matrixA. Requirement:N >= 0.NRHSβINTEGER. The number of right hand sides, aka how many columnsXandBhave. Requirement:NRHS >= 0.AβCOMPLEX array, dimension (LDA,N). The triangular matrixA. IfUPLO = 'U', the leadingnbynupper triangular part ofAcontains the upper triangular matrix, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leadingnbynlower triangular part ofAcontains 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 arrayA. Requirement:LDA >= max(1,N).SCALEβREAL. The scaling factorsused in solving the triangular system.CNORMβREAL array, dimension (N). The 1-norms of the columns ofA, not counting the diagonal.TSCALβREAL. The scaling factor used in computing the 1-norms inCNORM.CNORMactually contains the column norms ofTSCAL*A.XβCOMPLEX array, dimension (LDX,NRHS). The computed solution vectors for the system of linear equations.LDXβINTEGER. The leading dimension of arrayX. Requirement:LDX >= max(1,N).BβCOMPLEX array, dimension (LDB,NRHS). The right hand side vectors for the system of linear equations.LDBβINTEGER. The leading dimension of arrayB. Requirement:LDB >= max(1,N).WORKβCOMPLEX array, dimension (N).RESIDβREAL. The maximum over the number of right hand sides ofnorm(op(A)*x - s*b) / ( norm(op(A)) * norm(x) * EPS ).
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 169 of file ctrt03.f.
β¨ Author β¨
Generated automatically by Doxygen for LAPACK from the source code.
Signing off with the footer tea: this whole page is LAPACK Version 3.12.0, footer path /home/abui...IN/ctrt03.f(3) β and the footer doesnβt show a date here, so no invented calendar moment, bestie. ππ«Ά
π¦ 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