Changeset 411b46c in tol for tol/btol/bmodel/model.cpp


Ignore:
Timestamp:
Sep 24, 2012, 6:55:58 PM (14 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
dc76e58
Parents:
8973d5c
Message:

Adding gradient information

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@5127 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/bmodel/model.cpp

    r8973d5c r411b46c  
    120120FNDParam(ParameterInfo, "Parameters Information");
    121121FNDParam(Diagnostics, "Diagnostics Information");
     122FNDParam(Gradient, "Target gradient at optimal point");
    122123
    123124
    … …  
    10021003
    10031004  BText& JacobianMethod();
     1005
     1006  BMatrix<BDat> gradient = jacobian_.T()*A_*2;
    10041007  LstFastAppend(lsta,auxa,tmp=NewFND(BMat,Jacobian,jacobian_));
    10051008  LstFastAppend(lsta,auxa,tmp=NewFND(BMat,U,U_));
    … …  
    10121015  LstFastAppend(lsta,auxa,tmp=NewFND(BMat,ACOR,resACor_));
    10131016  LstFastAppend(lsta,auxa,tmp=NewFND(BMat,PACOR,resPACor_));
     1017  LstFastAppend(lsta,auxa,tmp=NewFND(BMat,Gradient,gradient));
    10141018  LstFastAppend(lst,aux,  tmp=NewSetFND(Correlations,lsta,NIL,BSet::Generic));
    1015 
    10161019  LstFastAppend(lst,aux,ParamDiag());
    10171020  set.RobElement(lst);
Note: See TracChangeset for help on using the changeset viewer.