DWNLSM(3)

SYNOPSIS
SUBROUTINE DWNLSM (W, MDW, MME, MA, N, L, PRGOPT, X, RNORM, MODE, + IPIVOT, ITYPE, WD, H, SCALE, Z, TEMP, D)

NAME
dwnlsm - Subsidiary to DWNNLS

LIBRARY
SLATEC

TYPE
DOUBLE PRECISION (WNLSM-S, DWNLSM-D)

AUTHOR
Hanson, R. J., (SNLA) Haskell, K. H., (SNLA)

DESCRIPTION
This is a companion subprogram to DWNNLS. The documentation for DWNNLS has complete usage instructions. In addition to the parameters discussed in the prologue to subroutine DWNNLS, the following work arrays are used in subroutine DWNLSM (they are passed through the calling sequence from DWNNLS for purposes of variable dimensioning). Their contents will in general be of no interest to the user. Variables of type REAL are DOUBLE PRECISION. IPIVOT(*) An array of length N. Upon completion it contains the pivoting information for the cols of W(*,*). ITYPE(*) An array of length M which is used to keep track of the classification of the equations. ITYPE(I)=0 denotes equation I as an equality constraint. ITYPE(I)=1 denotes equation I as a least squares equation. WD(*) An array of length N. Upon completion it contains the dual solution vector. H(*) An array of length N. Upon completion it contains the pivot scalars of the Householder transformations performed in the case KRANK.LT.L. SCALE(*) An array of length M which is used by the subroutine to store the diagonal matrix of weights. These are used to apply the modified Givens transformations. Z(*),TEMP(*) Working arrays of length N. D(*) An array of length N that contains the column scaling for the matrix (E). (A)

SEE ALSO
DWNNLS

ROUTINES CALLED
D1MACH, DASUM, DAXPY, DCOPY, DH12, DNRM2, DROTM, DROTMG, DSCAL, DSWAP, DWNLIT, IDAMAX, XERMSG

REVISION HISTORY (YYMMDD)
790701 DATE WRITTEN
890531 Changed all specific intrinsics to generic. (WRB)
890618 Completely restructured and revised. (WRB & RWC)
891214 Prologue converted to Version 4.0 format. (BAB)
900315 CALLs to XERROR changed to CALLs to XERMSG. (THJ)
900328 Added TYPE section. (WRB)
900510 Fixed an error message. (RWC)
900604 DP version created from SP version. (RWC)
900911 Restriction on value of ALAMDA included. (WRB)