LAPACK 3.12.0
LAPACK: Linear Algebra PACKage
|
subroutine slsets | ( | integer | m, |
integer | p, | ||
integer | n, | ||
real, dimension( lda, * ) | a, | ||
real, dimension( lda, * ) | af, | ||
integer | lda, | ||
real, dimension( ldb, * ) | b, | ||
real, dimension( ldb, * ) | bf, | ||
integer | ldb, | ||
real, dimension( * ) | c, | ||
real, dimension( * ) | cf, | ||
real, dimension( * ) | d, | ||
real, dimension( * ) | df, | ||
real, dimension( * ) | x, | ||
real, dimension( lwork ) | work, | ||
integer | lwork, | ||
real, dimension( * ) | rwork, | ||
real, dimension( 2 ) | result | ||
) |
SLSETS
SLSETS tests SGGLSE - a subroutine for solving linear equality constrained least square problem (LSE).
[in] | M | M is INTEGER The number of rows of the matrix A. M >= 0. |
[in] | P | P is INTEGER The number of rows of the matrix B. P >= 0. |
[in] | N | N is INTEGER The number of columns of the matrices A and B. N >= 0. |
[in] | A | A is REAL array, dimension (LDA,N) The M-by-N matrix A. |
[out] | AF | AF is REAL array, dimension (LDA,N) |
[in] | LDA | LDA is INTEGER The leading dimension of the arrays A, AF, Q and R. LDA >= max(M,N). |
[in] | B | B is REAL array, dimension (LDB,N) The P-by-N matrix A. |
[out] | BF | BF is REAL array, dimension (LDB,N) |
[in] | LDB | LDB is INTEGER The leading dimension of the arrays B, BF, V and S. LDB >= max(P,N). |
[in] | C | C is REAL array, dimension( M ) the vector C in the LSE problem. |
[out] | CF | CF is REAL array, dimension( M ) |
[in] | D | D is REAL array, dimension( P ) the vector D in the LSE problem. |
[out] | DF | DF is REAL array, dimension( P ) |
[out] | X | X is REAL array, dimension( N ) solution vector X in the LSE problem. |
[out] | WORK | WORK is REAL array, dimension (LWORK) |
[in] | LWORK | LWORK is INTEGER The dimension of the array WORK. |
[out] | RWORK | RWORK is REAL array, dimension (M) |
[out] | RESULT | RESULT is REAL array, dimension (2) The test ratios: RESULT(1) = norm( A*x - c )/ norm(A)*norm(X)*EPS RESULT(2) = norm( B*x - d )/ norm(B)*norm(X)*EPS |
Definition at line 153 of file slsets.f.