diff options
Diffstat (limited to 'TESTING/MATGEN/slarge.f')
-rw-r--r-- | TESTING/MATGEN/slarge.f | 124 |
1 files changed, 91 insertions, 33 deletions
diff --git a/TESTING/MATGEN/slarge.f b/TESTING/MATGEN/slarge.f index 7ee18ba6..8293c289 100644 --- a/TESTING/MATGEN/slarge.f +++ b/TESTING/MATGEN/slarge.f @@ -1,48 +1,106 @@ - SUBROUTINE SLARGE( N, A, LDA, ISEED, WORK, INFO ) -* -* -- LAPACK auxiliary test routine (version 3.1) -* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. -* November 2006 -* -* .. Scalar Arguments .. - INTEGER INFO, LDA, N -* .. -* .. Array Arguments .. - INTEGER ISEED( 4 ) - REAL A( LDA, * ), WORK( * ) -* .. -* +*> \brief \b SLARGE +* +* =========== DOCUMENTATION =========== +* +* Online html documentation available at +* http://www.netlib.org/lapack/explore-html/ +* +* Definition +* ========== +* +* SUBROUTINE SLARGE( N, A, LDA, ISEED, WORK, INFO ) +* +* .. Scalar Arguments .. +* INTEGER INFO, LDA, N +* .. +* .. Array Arguments .. +* INTEGER ISEED( 4 ) +* REAL A( LDA, * ), WORK( * ) +* .. +* * Purpose * ======= * -* SLARGE pre- and post-multiplies a real general n by n matrix A -* with a random orthogonal matrix: A = U*D*U'. +*>\details \b Purpose: +*>\verbatim +*> +*> SLARGE pre- and post-multiplies a real general n by n matrix A +*> with a random orthogonal matrix: A = U*D*U'. +*> +*>\endverbatim * * Arguments * ========= * -* N (input) INTEGER -* The order of the matrix A. N >= 0. +*> \param[in] N +*> \verbatim +*> N is INTEGER +*> The order of the matrix A. N >= 0. +*> \endverbatim +*> +*> \param[in,out] A +*> \verbatim +*> 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. +*> \endverbatim +*> +*> \param[in] LDA +*> \verbatim +*> LDA is INTEGER +*> The leading dimension of the array A. LDA >= N. +*> \endverbatim +*> +*> \param[in,out] ISEED +*> \verbatim +*> 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. +*> \endverbatim +*> +*> \param[out] WORK +*> \verbatim +*> WORK is REAL array, dimension (2*N) +*> \endverbatim +*> +*> \param[out] INFO +*> \verbatim +*> INFO is INTEGER +*> = 0: successful exit +*> < 0: if INFO = -i, the i-th argument had an illegal value +*> \endverbatim +*> +* +* Authors +* ======= +* +*> \author Univ. of Tennessee +*> \author Univ. of California Berkeley +*> \author Univ. of Colorado Denver +*> \author NAG Ltd. * -* A (input/output) 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. +*> \date November 2011 * -* LDA (input) INTEGER -* The leading dimension of the array A. LDA >= N. +*> \ingroup real_matgen * -* ISEED (input/output) 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. +* ===================================================================== + SUBROUTINE SLARGE( N, A, LDA, ISEED, WORK, INFO ) * -* WORK (workspace) REAL array, dimension (2*N) +* -- LAPACK auxiliary routine (version 3.1) -- +* -- LAPACK is a software package provided by Univ. of Tennessee, -- +* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- +* November 2011 * -* INFO (output) INTEGER -* = 0: successful exit -* < 0: if INFO = -i, the i-th argument had an illegal value +* .. Scalar Arguments .. + INTEGER INFO, LDA, N +* .. +* .. Array Arguments .. + INTEGER ISEED( 4 ) + REAL A( LDA, * ), WORK( * ) +* .. * * ===================================================================== * |