![]() |
LAPACK
3.9.0
LAPACK: Linear Algebra PACKage
|
| subroutine sqrt15 | ( | integer | SCALE, |
| integer | RKSEL, | ||
| integer | M, | ||
| integer | N, | ||
| integer | NRHS, | ||
| real, dimension( lda, * ) | A, | ||
| integer | LDA, | ||
| real, dimension( ldb, * ) | B, | ||
| integer | LDB, | ||
| real, dimension( * ) | S, | ||
| integer | RANK, | ||
| real | NORMA, | ||
| real | NORMB, | ||
| integer, dimension( 4 ) | ISEED, | ||
| real, dimension( lwork ) | WORK, | ||
| integer | LWORK | ||
| ) |
SQRT15
SQRT15 generates a matrix with full or deficient rank and of various norms.
| [in] | SCALE | SCALE is INTEGER
SCALE = 1: normally scaled matrix
SCALE = 2: matrix scaled up
SCALE = 3: matrix scaled down |
| [in] | RKSEL | RKSEL is INTEGER
RKSEL = 1: full rank matrix
RKSEL = 2: rank-deficient matrix |
| [in] | M | M is INTEGER
The number of rows of the matrix A. |
| [in] | N | N is INTEGER
The number of columns of A. |
| [in] | NRHS | NRHS is INTEGER
The number of columns of B. |
| [out] | A | A is REAL array, dimension (LDA,N)
The M-by-N matrix A. |
| [in] | LDA | LDA is INTEGER
The leading dimension of the array A. |
| [out] | B | B is REAL array, dimension (LDB, NRHS)
A matrix that is in the range space of matrix A. |
| [in] | LDB | LDB is INTEGER
The leading dimension of the array B. |
| [out] | S | S is REAL array, dimension MIN(M,N)
Singular values of A. |
| [out] | RANK | RANK is INTEGER
number of nonzero singular values of A. |
| [out] | NORMA | NORMA is REAL
one-norm of A. |
| [out] | NORMB | NORMB is REAL
one-norm of B. |
| [in,out] | ISEED | ISEED is integer array, dimension (4)
seed for random number generator. |
| [out] | WORK | WORK is REAL array, dimension (LWORK) |
| [in] | LWORK | LWORK is INTEGER
length of work space required.
LWORK >= MAX(M+MIN(M,N),NRHS*MIN(M,N),2*N+M) |
Definition at line 150 of file sqrt15.f.