/home/abui...N/dlatm7.f(3)
π /home/abui...N/dlatm7.f(3) π
okay bestie, this is the Library Functions Manual entry for a LAPACK file, and we are keeping every single receipt. No skimming, no cap. π«Ά
β¨ NAME β¨
The name line is literally this absolute-path baddie:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/dlatm7.f
πΈ SYNOPSIS πΈ
π¦ Functions/Subroutines π¦
subroutine DLATM7 (mode, cond, irsign, idist, iseed, d, n, rank, info)
DLATM7
sheβs a subroutine, your honor. π
π Function/Subroutine Documentation π
π subroutine DLATM7 π
subroutine DLATM7 (integer mode, double precision cond, integer irsign,
integer idist, integer, dimension( 4 ) iseed, double precision,
dimension( * ) d, integer n, integer rank, integer info)
DLATM7
π Purpose π
okay so DLATM7 computes the entries of D as specified by MODE, COND and IRSIGN. IDIST and ISEED determine the generation of random numbers. DLATM7 is called by DLATMT to generate random test matrices. π«
the argument tea is exactly this:
MODEβINTEGER. On entry it describes howDis to be computed:MODE = 0means do not changeD.MODE = 1setsD(1)=1andD(2:RANK)=1.0/COND.MODE = 2setsD(1:RANK-1)=1andD(RANK)=1.0/COND.MODE = 3setsD(I)=COND**(-(I-1)/(RANK-1)) I=1:RANK.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. MODEis not modified.
CONDβDOUBLE PRECISION. On entry, used as described underMODEabove. If used, it must be>= 1. Not modified.IRSIGNβINTEGER. On entry, ifMODEis neither-6,0nor6, it determines the sign of entries ofD:0=> leave entries ofDunchanged1=> multiply each entry ofDby1or-1with probability.5
IDISTβCHARACTER*1. On entry,IDISTspecifies the type of distribution to be used to generate a random matrix .1=>UNIFORM( 0, 1 )2=>UNIFORM( -1, 1 )3=>NORMAL( 0, 1 )- Not modified.
ISEEDβINTEGER array, dimension ( 4 ). On entry,ISEEDspecifies 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 ofISEEDare changed on exit, and can be used in the next call toDLATM7to continue the same random number sequence. Changed on exit.DβDOUBLE PRECISION array, dimension ( MIN( M , N ) ). Array to be computed according toMODE,CONDandIRSIGN. May be changed on exit ifMODEis nonzero.NβINTEGER. Number of entries ofD. Not modified.RANKβINTEGER. The rank of matrix to be generated for modes1,2,3only.D( RANK+1:N ) = 0. Not modified.INFOβINTEGER. The tea:0=> normal termination-1=> ifMODEnot in range-6to6-2=> ifMODEneither-6,0nor6, andIRSIGNneither0nor1-3=> ifMODEneither-6,0nor6andCONDless than1-4=> ifMODEequals6or-6andIDISTnot in range1to3-7=> ifNnegative
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 120 of file dlatm7.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π the footer energy is LAPACK, Version 3.12.0, and /home/abui...N/dlatm7.f(3) β cute sign-off, bestie. The footer doesnβt print a date, so thatβs the whole tea. π
π¦ 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