TESTING/MATGEN/slaror.f(3)
TESTING/MATGEN/slaror.f(3) π
Ok bestie, this is the Library Functions Manual page for TESTING/MATGEN/slaror.f β LAPACK content, group-chat translation, all facts intact. β¨
NAME π
TESTING/MATGEN/slaror.f
SYNOPSIS π¦
Functions/Subroutines β¨
subroutine slaror (side, init, m, n, a, lda, iseed, x, info)βSLAROR
subroutine slaror (side, init, m, n, a, lda, iseed, x, info)
SLAROR
Function/Subroutine Documentation π
subroutine slaror (character side, character init, integer m, integer n,
real, dimension( lda, * ) a, integer lda, integer, dimension( 4 ) iseed,
real, dimension( * ) x, integer info)
SLAROR π
This is the main-character subroutine page, bestie β all the deets are below. π«Ά
Purpose πΈ
SLAROR pre- or post-multiplies an M by N matrix A by a random orthogonal matrix U, overwriting A. A may optionally be initialized to the identity matrix before multiplying by U. U is generated using the method of G.W. Stewart (SIAM J. Numer. Anal. 17, 1980, 403-409).
Parameters π
SIDEβSIDE is CHARACTER*1- Specifies whether
Ais 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 the right byU'(Here,U'meansU-transpose.)
- Specifies whether
INITβINIT is CHARACTER*1- Specifies whether or not
Ashould be initialized to the identity matrix. = 'I': InitializeAto (a section of) the identity matrix before applyingU.= 'N': No initialization. ApplyUto the input matrixA.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
- Specifies whether or not
MβM is INTEGER- The number of rows of
A.
- The number of rows of
NβN is INTEGER- The number of columns of
A.
- The number of columns of
AβA is REAL array, dimension (LDA, N)- On entry, the array
A. - On exit, overwritten by
U A( ifSIDE = 'L'), or byA U( ifSIDE = 'R'), or byU A U'( ifSIDE = 'C'or'T').
- On entry, the array
LDAβLDA is INTEGER- The leading dimension of the array
A.LDA >= max(1,M).
- The leading dimension of the array
ISEEDβISEED is INTEGER array, dimension (4)- On entry
ISEEDspecifies the seed of the random number generator. The array elements should be between 0 and 4095; if not they will be reduced mod 4096. 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 toSLARORto continue the same random number sequence.
- On entry
XβX is REAL array, dimension (3*MAX( M, N ))- Workspace of length
2*M + NifSIDE = 'L',2*N + MifSIDE = 'R',3*NifSIDE = 'C'or'T'.
- Workspace of length
INFOβINFO is INTEGER- An error flag. It is set to:
= 0: normal return< 0: ifINFO = -k, the k-th argument had an illegal value= 1: if the random numbers generated bySLARNDare bad.
- An error flag. It is set to:
Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 145 of file slaror.f. π
Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
Sign-off: source TESTING/MATGEN/slaror.f(3), LAPACK Version 3.12.0 β no date stamp on this footer, bestie π
π¦ 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