/home/abui...N/clatm1.f(3)
π NAME π
okay bestie, welcome to the clatm1.f(3) page in the Library Functions Manual β¨ and yes, the βnameβ is literally this whole absolute-path situation:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/clatm1.f
no cap, thatβs the name. slay π
πΈ SYNOPSIS πΈ
Functions/Subroutines:
subroutine CLATM1 (mode, cond, irsign, idist, iseed, d, n, info)
CLATM1
π¦ Function/Subroutine Documentation π¦
subroutine CLATM1 (integer mode, real cond, integer irsign, integer idist,
integer, dimension( 4 ) iseed, complex, dimension( * ) d, integer n,
integer info)
CLATM1
β¨ Purpose β¨
okay so CLATM1 computes the entries of D(1..N) as specified by MODE, COND and IRSIGN. IDIST and ISEED determine the generation of random numbers. CLATM1 is called by CLATMR to generate random test matrices for LAPACK programs. iconic behavior π
π Parameters π
π MODE
MODE is INTEGER.
On entry describes how D is to be computed:
MODE = 0means do not changeD.MODE = 1setsD(1)=1andD(2:N)=1.0/COND.MODE = 2setsD(1:N-1)=1andD(N)=1.0/COND.MODE = 3setsD(I)=COND**(-(I-1)/(N-1)).MODE = 4setsD(i)=1 - (i-1)/(N-1)*(1 - 1/COND).MODE = 5setsDto random numbers in the range( 1/COND , 1 )such that their logarithms are uniformly distributed.MODE = 6setDto random numbers from same distribution as the rest of the matrix.MODE < 0has the same meaning asABS(MODE), except that the order of the elements ofDis reversed.- Thus if
MODEis positive,Dhas entries ranging from1to1/COND, if negative, from1/CONDto1.
Not modified π«Ά
π COND
COND is REAL.
On entry, used as described under MODE above. If used, it must be >= 1. Not modified.
π IRSIGN
IRSIGN is INTEGER.
On entry, if MODE neither -6, 0 nor 6, determines sign of entries of D:
0=> leave entries ofDunchanged.1=> multiply each entry ofDby random complex number uniformly distributed with absolute value1.
π IDIST
IDIST is INTEGER.
On entry, IDIST specifies the type of distribution to be used to generate a random matrix.
1=> real and imaginary parts eachUNIFORM( 0, 1 ).2=> real and imaginary parts eachUNIFORM( -1, 1 ).3=> real and imaginary parts eachNORMAL( 0, 1 ).4=> complex number uniform inDISK( 0, 1 ).
Not modified.
π ISEED
ISEED is INTEGER array, dimension ( 4 ).
On entry ISEED specifies the seed of the random number generator. The random number generator uses a linear congruential sequence limited to small integers, and so should produce machine independent random numbers. The values of ISEED are changed on exit, and can be used in the next call to CLATM1 to continue the same random number sequence.
Changed on exit.
π D
D is COMPLEX array, dimension ( N ).
Array to be computed according to MODE, COND and IRSIGN. May be changed on exit if MODE is nonzero.
π N
N is INTEGER.
Number of entries of D. Not modified.
π INFO
INFO is INTEGER.
0=> normal termination.-1=> ifMODEnot in range-6to6.-2=> ifMODEneither-6,0nor6, andIRSIGNneither0nor1.-3=> ifMODEneither-6,0nor6andCONDless than1.-4=> ifMODEequals6or-6andIDISTnot in range1to4.-7=> ifNnegative.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 136 of file clatm1.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie thatβs the whole vibe π signing off with LAPACK Version 3.12.0 and the footer tag /home/abui...N/clatm1.f(3) β byeeee πβ¨
π¦ 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