LAPACK 3.12.1
LAPACK: Linear Algebra PACKage
|
subroutine zglmts | ( | integer | n, |
integer | m, | ||
integer | p, | ||
complex*16, dimension( lda, * ) | a, | ||
complex*16, dimension( lda, * ) | af, | ||
integer | lda, | ||
complex*16, dimension( ldb, * ) | b, | ||
complex*16, dimension( ldb, * ) | bf, | ||
integer | ldb, | ||
complex*16, dimension( * ) | d, | ||
complex*16, dimension( * ) | df, | ||
complex*16, dimension( * ) | x, | ||
complex*16, dimension( * ) | u, | ||
complex*16, dimension( lwork ) | work, | ||
integer | lwork, | ||
double precision, dimension( * ) | rwork, | ||
double precision | result ) |
ZGLMTS
!> !> ZGLMTS tests ZGGGLM - a subroutine for solving the generalized !> linear model problem. !>
[in] | N | !> N is INTEGER !> The number of rows of the matrices A and B. N >= 0. !> |
[in] | M | !> M is INTEGER !> The number of columns of the matrix A. M >= 0. !> |
[in] | P | !> P is INTEGER !> The number of columns of the matrix B. P >= 0. !> |
[in] | A | !> A is COMPLEX*16 array, dimension (LDA,M) !> The N-by-M matrix A. !> |
[out] | AF | !> AF is COMPLEX*16 array, dimension (LDA,M) !> |
[in] | LDA | !> LDA is INTEGER !> The leading dimension of the arrays A, AF. LDA >= max(M,N). !> |
[in] | B | !> B is COMPLEX*16 array, dimension (LDB,P) !> The N-by-P matrix A. !> |
[out] | BF | !> BF is COMPLEX*16 array, dimension (LDB,P) !> |
[in] | LDB | !> LDB is INTEGER !> The leading dimension of the arrays B, BF. LDB >= max(P,N). !> |
[in] | D | !> D is COMPLEX*16 array, dimension( N ) !> On input, the left hand side of the GLM. !> |
[out] | DF | !> DF is COMPLEX*16 array, dimension( N ) !> |
[out] | X | !> X is COMPLEX*16 array, dimension( M ) !> solution vector X in the GLM problem. !> |
[out] | U | !> U is COMPLEX*16 array, dimension( P ) !> solution vector U in the GLM problem. !> |
[out] | WORK | !> WORK is COMPLEX*16 array, dimension (LWORK) !> |
[in] | LWORK | !> LWORK is INTEGER !> The dimension of the array WORK. !> |
[out] | RWORK | !> RWORK is DOUBLE PRECISION array, dimension (M) !> |
[out] | RESULT | !> RESULT is DOUBLE PRECISION !> The test ratio: !> norm( d - A*x - B*u ) !> RESULT = ----------------------------------------- !> (norm(A)+norm(B))*(norm(x)+norm(u))*EPS !> |
Definition at line 144 of file zglmts.f.