/home/abui.../cdrvrfp.f(3)
π
cdrvrfp.f β Library Functions Manual π
okay so this is the LAPACK test-routine manual page, and itβs giving full-format symmetry realness. Stay with me, bestie β every flag, array, and test ratio is still here. π«Ά
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cdrvrfp.f
π§© SYNOPSIS π§©
π οΈ Functions/Subroutines π οΈ
subroutine CDRVRFP (nout, nn, nval, nns, nsval, nnt, ntval, thresh, a,
asav, afac, ainv, b, bsav, xact, x, arf, arfinv, c_work_clatms,
c_work_cpot02, c_work_cpot03, s_work_clatms, s_work_clanhe,
s_work_cpot01, s_work_cpot02, s_work_cpot03)
CDRVRFP
CDRVRFP
π§ͺ Function/Subroutine Documentation π§ͺ
Hereβs the full signature, no cap β every argument exactly where it belongs:
subroutine CDRVRFP (integer nout, integer nn, integer, dimension( nn ) nval,
integer nns, integer, dimension( nns ) nsval, integer nnt, integer,
dimension( nnt ) ntval, real thresh, complex, dimension( * ) a, complex,
dimension( * ) asav, complex, dimension( * ) afac, complex, dimension( *
) ainv, complex, dimension( * ) b, complex, dimension( * ) bsav,
complex, dimension( * ) xact, complex, dimension( * ) x, complex,
dimension( * ) arf, complex, dimension( * ) arfinv, complex, dimension(
* ) c_work_clatms, complex, dimension( * ) c_work_cpot02, complex,
dimension( * ) c_work_cpot03, real, dimension( * ) s_work_clatms, real,
dimension( * ) s_work_clanhe, real, dimension( * ) s_work_cpot01, real,
dimension( * ) s_work_cpot02, real, dimension( * ) s_work_cpot03)
CDRVRFP
CDRVRFP
π― Purpose π―
okay so CDRVRFP is out here testing the LAPACK RFP routines: CPFTRF, CPFTRS, and CPFTRI. Periodt. π
This testing routine follows the same tests as CDRVPO (the test for the full format Symmetric Positive Definite solver).
The tests are performed in Full Format, conversion back and forth from full format to RFP format are performed using the routines CTRTTF and CTFTTR.
First, a specific matrix A of size N is created. There is nine types of different matrixes possible:
1. Diagonal 6. Random, CNDNUM = sqrt(0.1/EPS)
2. Random, CNDNUM = 2 7. Random, CNDNUM = 0.1/EPS
*3. First row and column zero 8. Scaled near underflow
*4. Last row and column zero 9. Scaled near overflow
*5. Middle row and column zero
(* - tests error exits from CPFTRF, no test ratios are computed)
A solution XACT of size N-by-NRHS is created and the associated right hand side B as well. Then CPFTRF is called to compute L (or U), the Cholesky factor of A. Then L (or U) is used to solve the linear system of equations AX = B. This gives X. Then L (or U) is used to compute the inverse of A, AINV. The following four tests are then performed:
(1) norm( L*L' - A ) / ( N * norm(A) * EPS ) or
norm( U'*U - A ) / ( N * norm(A) * EPS ),
(2) norm(B - A*X) / ( norm(A) * norm(X) * EPS ),
(3) norm( I - A*AINV ) / ( N * norm(A) * norm(AINV) * EPS ),
(4) ( norm(X-XACT) * RCOND ) / ( norm(XACT) * EPS ),
where EPS is the machine precision, RCOND the condition number of A, and norm( . ) the 1-norm for (1,2,3) and the inf-norm for (4). Errors occur when INFO parameter is not as expected. Failures occur when a test ratios is greater than THRES.
π§Ύ Parameters π§Ύ
NOUTβNOUT is INTEGER; the unit number for output.NNβNN is INTEGER; the number of values of N contained in the vector NVAL.NVALβNVAL is INTEGER array, dimension (NN); the values of the matrix dimension N.NNSβNNS is INTEGER; the number of values of NRHS contained in the vector NSVAL.NSVALβNSVAL is INTEGER array, dimension (NNS); the values of the number of right-hand sides NRHS.NNTβNNT is INTEGER; the number of values of MATRIX TYPE contained in the vector NTVAL.NTVALβNTVAL is INTEGER array, dimension (NNT); the values of matrix type (between 0 and 9 for PO/PP/PF matrices).THRESHβTHRESH is REAL; the threshold value for the test ratios. A result is included in the output file ifRESULT >= THRESH. To have every test ratio printed, useTHRESH = 0.AβA is COMPLEX array, dimension (NMAX*NMAX).ASAVβASAV is COMPLEX array, dimension (NMAX*NMAX).AFACβAFAC is COMPLEX array, dimension (NMAX*NMAX).AINVβAINV is COMPLEX array, dimension (NMAX*NMAX).BβB is COMPLEX array, dimension (NMAX*MAXRHS).BSAVβBSAV is COMPLEX array, dimension (NMAX*MAXRHS).XACTβXACT is COMPLEX array, dimension (NMAX*MAXRHS).XβX is COMPLEX array, dimension (NMAX*MAXRHS).ARFβARF is COMPLEX array, dimension ((NMAX*(NMAX+1))/2).ARFINVβARFINV is COMPLEX array, dimension ((NMAX*(NMAX+1))/2).C_WORK_CLATMSβC_WORK_CLATMS is COMPLEX array, dimension ( 3*NMAX ).C_WORK_CPOT02βC_WORK_CPOT02 is COMPLEX array, dimension ( NMAX*MAXRHS ).C_WORK_CPOT03βC_WORK_CPOT03 is COMPLEX array, dimension ( NMAX*NMAX ).S_WORK_CLATMSβS_WORK_CLATMS is REAL array, dimension ( NMAX ).S_WORK_CLANHEβS_WORK_CLANHE is REAL array, dimension ( NMAX ).S_WORK_CPOT01βS_WORK_CPOT01 is REAL array, dimension ( NMAX ).S_WORK_CPOT02βS_WORK_CPOT02 is REAL array, dimension ( NMAX ).S_WORK_CPOT03βS_WORK_CPOT03 is REAL array, dimension ( NMAX ).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 238 of file cdrvrfp.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π thatβs the whole page, bestie! LAPACK Version 3.12.0, source/home/abui.../cdrvrfp.f(3). Stay iconic and may yourRESULTstay underTHRESH. π β¨
π¦ 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