TESTING/MATGEN/zlaror.f(3)
π
TESTING/MATGEN/zlaror.f(3) β Library Functions Manual, but make it cute π
okay so bestie, welcome to the Library Functions Manual page for TESTING/MATGEN/zlaror.f(3) β I folded the manual name right up here instead of copying that header line, because this is giving group-chat energy and we are literally that girl. slay. β¨
πΈ NAME πΈ
TESTING/MATGEN/zlaror.f β that's the page/file name, and the function serving main character energy inside is ZLAROR. π
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines π«Ά
subroutine zlaror (side, init, m, n, a, lda, iseed, x, info)βZLAROR
π Function/Subroutine Documentation π
subroutine zlaror (character side, character init, integer m, integer n,
complex*16, dimension( lda, * ) a, integer lda, integer, dimension( 4 )
iseed, complex*16, dimension( * ) x, integer info)
ZLAROR
π Purpose π
okay so ZLAROR pre- or post-multiplies an M by N matrix A by a random unitary 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, pp. 403-409). This is the (BLAS-2 version). π¦
π¦ Parameters π¦
π SIDE π
SIDE is CHARACTER*1. It specifies whether A is multiplied on the left or right by U.
SIDE = 'L'β Multiply A on the left (premultiply) by USIDE = 'R'β Multiply A on the right (postmultiply) by USIDE = 'C'β Multiply A on the left by U and the right by U^CSIDE = 'T'β Multiply A on the left by U and the right by U'
Not modified.
π INIT π
INIT is CHARACTER*1. INIT specifies whether or not A should be initialized to the identity matrix.
INIT = 'I'β Initialize A to (a section of) the identity matrix before applying U.INIT = 'N'β No initialization. Apply U to the input matrix A.
INIT = 'I' may be used to generate square (i.e., unitary) or rectangular orthogonal matrices (orthogonality being in the sense of ZDOTC):
For square matrices, M=N, and SIDE may be either 'L' or 'R'; the rows will be orthogonal to each other, as will the columns.
For rectangular matrices where M < N, SIDE = 'R' will produce a dense matrix whose rows will be orthogonal and whose columns will not, while SIDE = 'L' will produce a matrix whose rows will be orthogonal, and whose first M columns will be orthogonal, the remaining columns being zero.
For matrices where M > N, just use the previous explanation, interchanging 'L' and 'R' and and .
Not modified.
πΈ M πΈ
M is INTEGER. Number of rows of A. Not modified.
πΈ N πΈ
N is INTEGER. Number of columns of A. Not modified.
π A π
A is a COMPLEX*16 array, dimension ( LDA, N ). Input and output array. On exit it's overwritten by U A (if SIDE = 'L') or by A U (if SIDE = 'R') or by U A U* (if SIDE = 'C') or by U A U' (if SIDE = 'T').
π LDA π
LDA is INTEGER. Leading dimension of A. Must be at least MAX ( 1, M ). Not modified.
π ISEED π
ISEED is INTEGER array, dimension ( 4 ).
On entry ISEED specifies 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 of ISEED are changed on exit, and can be used in the next call to ZLAROR to continue the same random number sequence. Modified.
π§ X π§
X is a COMPLEX*16 array, dimension ( 3*MAX( M, N ) ). Workspace. Of length:
2*M + N if SIDE = 'L',
2*N + M if SIDE = 'R',
3*N if SIDE = 'C' or 'T'.
Modified.
π₯ INFO π₯
INFO is INTEGER. An error flag. It is set to:
0β if no error.1β ifZLARNDreturned a bad random number (installation problem)-1β ifSIDEis not L, R, C, or T.-3β ifMis negative.-4β ifNis negative or ifSIDEis C or T andNis not equal toM.-6β ifLDAis less thanM.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 157 of file zlaror.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π that's the whole manual page, bestie β TESTING/MATGEN/zlaror.f(3), LAPACK Version 3.12.0, source/version noted, no cap, periodt. π«Άβ¨
π¦ 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