LAPACK  3.5.0
LAPACK: Linear Algebra PACKage
 All Classes Files Functions Variables Typedefs Macros
zlsets.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine zlsets (M, P, N, A, AF, LDA, B, BF, LDB, C, CF, D, DF, X, WORK, LWORK, RWORK, RESULT)
 ZLSETS More...
 

Function/Subroutine Documentation

subroutine zlsets ( integer  M,
integer  P,
integer  N,
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( * )  C,
complex*16, dimension( * )  CF,
complex*16, dimension( * )  D,
complex*16, dimension( * )  DF,
complex*16, dimension( * )  X,
complex*16, dimension( lwork )  WORK,
integer  LWORK,
double precision, dimension( * )  RWORK,
double precision, dimension( 2 )  RESULT 
)

ZLSETS

Purpose:
 ZLSETS tests ZGGLSE - a subroutine for solving linear equality
 constrained least square problem (LSE).
Parameters
[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 COMPLEX*16 array, dimension (LDA,N)
          The M-by-N matrix A.
[out]AF
          AF is COMPLEX*16 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 COMPLEX*16 array, dimension (LDB,N)
          The P-by-N matrix A.
[out]BF
          BF is COMPLEX*16 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 COMPLEX*16 array, dimension( M )
          the vector C in the LSE problem.
[out]CF
          CF is COMPLEX*16 array, dimension( M )
[in]D
          D is COMPLEX*16 array, dimension( P )
          the vector D in the LSE problem.
[out]DF
          DF is COMPLEX*16 array, dimension( P )
[out]X
          X is COMPLEX*16 array, dimension( N )
          solution vector X in the LSE 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 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
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date
November 2011

Definition at line 151 of file zlsets.f.

Here is the call graph for this function:

Here is the caller graph for this function: