/home/abui...N/dlaror.f(3)
π NAME π
Okay so bestie, this is dlaror.f(3) from the Library Functions Manual β and it is literally the glow-up page for:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/dlaror.f
That's the whole name section, no cap. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine DLAROR (side, init, m, n, a, lda, iseed, x, info)
DLAROR
π Function/Subroutine Documentation π
subroutine DLAROR (character side, character init, integer m, integer n,
double precision, dimension( lda, * ) a, integer lda, integer,
dimension( 4 ) iseed, double precision, dimension( * ) x, integer info)
DLAROR β the main character. π
π― Purpose π―
Okay so DLAROR pre- or post-multiplies an M by N matrix A by a random orthogonal matrix U, overwriting A. Before multiplying by U, A may optionally be initialized to the identity matrix. U is generated using the method of G.W. Stewart (SIAM J. Numer. Anal. 17, 1980, 403-409). Not me obsessing over the citation. π¦
π§Ύ Parameters π§Ύ
SIDEβ bestie,SIDEisCHARACTER*1, and it specifies whetherAis multiplied on the left or right byU.= 'L': multiplyAon the left (premultiply) byU.= 'R': multiplyAon the right (postmultiply) byU'.= 'C'or'T': multiplyAon the left byUand on the right byU'(here,U'means U-transpose). πINITβINITisCHARACTER*1. It specifies whether or notAshould be initialized to the identity matrix.= 'I': initializeAto (a section of) the identity matrix before applyingU.= 'N': no initialization; applyUto the input matrixA. Also,INIT = 'I'may be used to generate square or rectangular orthogonal matrices:- For
M = NandSIDE = 'L'or'R', the rows will be orthogonal to each other, as will the columns. - If
M < N,SIDE = 'R'produces a dense matrix whose rows are orthogonal and whose columns are not, whileSIDE = 'L'produces a matrix whose rows are orthogonal, and whose firstMcolumns are orthogonal, and whose remaining columns are zero. - If
M > N,SIDE = 'L'produces a dense matrix whose columns are orthogonal and whose rows are not, whileSIDE = 'R'produces a matrix whose columns are orthogonal, and whose firstMrows are orthogonal, and whose remaining rows are zero.
- For
MβMisINTEGER. It's the number of rows ofA. πNβNisINTEGER. It's the number of columns ofA. πΈAβAis aDOUBLE PRECISIONarray, dimension(LDA, N). On entry, the arrayA. On exit, overwritten byU A(ifSIDE = 'L'), or byA U(ifSIDE = 'R'), or byU A U'(ifSIDE = 'C'or'T'). It's giving full overwrite realness. β¨LDAβLDAisINTEGER, the leading dimension of the arrayA. Constraint:LDA >= max(1,M). Don't play with it. πISEEDβISEEDis anINTEGERarray, dimension(4). On entry,ISEEDspecifies the seed of the random number generator. The array elements should be between0and4095; if not, they will be reduced mod4096. Also,ISEED(4)must be odd. 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 toDLARORto continue the same random number sequence. π²
π«Ά bestie PSA:ISEED(4)must be odd, and if elements aren't between0and4095, they get reduced mod4096. That's the rule, fr fr.
XβXis aDOUBLE PRECISIONarray, dimension(3*MAX( M, N )). It's workspace of length:
2*M + N if SIDE = 'L',
2*N + M if SIDE = 'R',
3*N if SIDE = 'C' or 'T'.
INFOβINFOisINTEGER, an error flag. It is set to:= 0: normal return.< 0: ifINFO = -k, thek-th argument had an illegal value.= 1: if the random numbers generated byDLARNDare bad.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 145 of file dlaror.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Okay bestie, cute sign-off time: this footer is giving LAPACK Version 3.12.0 energy, with the page stamp /home/abui...N/dlaror.f(3) β that's the source/version and date/path situation, iykyk. Bye! ππ
π¦ 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