Changeset 1092 for trunk/GSASIImath.py


Ignore:
Timestamp:
Oct 9, 2013 10:27:52 AM (10 years ago)
Author:
vondreele
Message:

remove GSASIIsolve - never will be used
put back matrix rescaling for v-cov matrix
add detail for penalty fxn output - still something wrong with this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r1091 r1092  
    148148    nfev += 1
    149149    Yvec,Amat = Hess(x0,*args)
    150     Amatlam = Amat          #*(One+Lam)/Anorm
     150    Amatlam = Amat*(One+Lam)/Anorm              #scale Amat to Marquardt array
    151151    try:
    152         Bmat = nl.inv(Amatlam)          #*(One+Lam)/Anorm
     152        Bmat = nl.inv(Amatlam)*(One+Lam)/Anorm      #rescale Bmat to Marquardt array
    153153        return [x0,Bmat,{'num cyc':icycle,'fvec':M,'nfev':nfev,'lamMax':lamMax,'psing':[]}]
    154154    except nl.LinAlgError:
Note: See TracChangeset for help on using the changeset viewer.