LAPACK 3.12.0
LAPACK: Linear Algebra PACKage
|
subroutine slarge | ( | integer | n, |
real, dimension( lda, * ) | a, | ||
integer | lda, | ||
integer, dimension( 4 ) | iseed, | ||
real, dimension( * ) | work, | ||
integer | info | ||
) |
SLARGE
SLARGE pre- and post-multiplies a real general n by n matrix A with a random orthogonal matrix: A = U*D*U'.
[in] | N | N is INTEGER The order of the matrix A. N >= 0. |
[in,out] | A | A is REAL array, dimension (LDA,N) On entry, the original n by n matrix A. On exit, A is overwritten by U*A*U' for some random orthogonal matrix U. |
[in] | LDA | LDA is INTEGER The leading dimension of the array A. LDA >= N. |
[in,out] | ISEED | ISEED is INTEGER array, dimension (4) On entry, the seed of the random number generator; the array elements must be between 0 and 4095, and ISEED(4) must be odd. On exit, the seed is updated. |
[out] | WORK | WORK is REAL array, dimension (2*N) |
[out] | INFO | INFO is INTEGER = 0: successful exit < 0: if INFO = -i, the i-th argument had an illegal value |
Definition at line 86 of file slarge.f.