TESTING/EIG/scklse.f(3)
β¨ NAME β¨
TESTING/EIG/scklse.f β bestie, this page lives in the Library Functions Manual and its title/header energy is TESTING/EIG/scklse.f(3). It's the SCKLSE routine page, and we're about to read every parameter together. π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine scklse (integer nn, integer, dimension( * ) mval, integer,
dimension( * ) pval, integer, dimension( * ) nval, integer nmats,
integer, dimension( 4 ) iseed, real thresh, integer nmax, real,
dimension( * ) a, real, dimension( * ) af, real, dimension( * ) b, real,
dimension( * ) bf, real, dimension( * ) x, real, dimension( * ) work,
real, dimension( * ) rwork, integer nin, integer nout, integer info)
SCKLSE
π οΈ Function/Subroutine Documentation π οΈ
subroutine scklse (integer nn, integer, dimension( * ) mval, integer,
dimension( * ) pval, integer, dimension( * ) nval, integer nmats,
integer, dimension( 4 ) iseed, real thresh, integer nmax, real,
dimension( * ) a, real, dimension( * ) af, real, dimension( * ) b, real,
dimension( * ) bf, real, dimension( * ) x, real, dimension( * ) work,
real, dimension( * ) rwork, integer nin, integer nout, integer info)
SCKLSE
π― Purpose:
Bestie, SCKLSE tests SGGLSE β a subroutine for solving linear equality constrained least square problem (LSE). That's the whole purpose, and it's iconic. β¨
π§ Parameters
NNβNN is INTEGER. It's the number of values of(M,P,N)contained in the vectors(MVAL, PVAL, NVAL). πMVALβMVAL is INTEGER array, dimension (NN). These are the values of the matrix row(column) dimensionM.PVALβPVAL is INTEGER array, dimension (NN). The values of the matrix row(column) dimensionP.NVALβNVAL is INTEGER array, dimension (NN). The values of the matrix column(row) dimensionN.NMATSβNMATS is INTEGER. The number of matrix types to be tested for each combination of matrix dimensions. IfNMATS >= NTYPES(the maximum number of matrix types), then all the different types are generated for testing. IfNMATS < NTYPES, another input line is read to get the numbers of the matrix types to be used.ISEEDβISEED is INTEGER array, dimension (4). On entry, the seed of the random number generator. The array elements should be between0and4095, otherwise they will be reduced mod4096, andISEED(4)must be odd. On exit, the next seed in the random number sequence after all the test matrices have been generated. π²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.NMAXβNMAX is INTEGER. The maximum value permitted forMorN, used in dimensioning the work arrays.AβA is REAL array, dimension (NMAX*NMAX).AFβAF is REAL array, dimension (NMAX*NMAX).BβB is REAL array, dimension (NMAX*NMAX).BFβBF is REAL array, dimension (NMAX*NMAX).XβX is REAL array, dimension (5*NMAX).WORKβWORK is REAL array, dimension (NMAX*NMAX).RWORKβRWORK is REAL array, dimension (NMAX).NINβNIN is INTEGER. The unit number for input.NOUTβNOUT is INTEGER. The unit number for output.INFOβINFO is INTEGER.= 0: successful exit.> 0: IfSLATMSreturns an error code, the absolute value of it is returned.
π Author π
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 164 of file scklse.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
π That's the whole page, bestie. Source/version/page tea: LAPACK, Version 3.12.0, TESTING/EIG/scklse.f(3). Go forth and test those LSE problems. π
π¦ 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