Changeset 1f99b1c in tol


Ignore:
Timestamp:
Oct 22, 2008, 3:38:45 PM (18 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
1808425
Parents:
898821f
Message:

Preparing for non linear filers of output

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

Location:
tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/gibbs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_basicMaster.tol

    r898821f r1f99b1c  
    106106  ////////////////////////////////////////////////////////////////////////////
    107107  {
     108  //WriteLn("TRACE"+_MID+"DoExternalFilter 1");
    108109    VMatrix _.Y := _.modelDef->Y;
     110  //WriteLn("TRACE"+_MID+"DoExternalFilter 2");
    109111    If(!Card(_.externalFilter), 1,
    110112    {
    111       SetMin(EvalSet(_.externalFilter,VMatrix(NameBlock extflt)
    112       {
    113         extFlt::do.filter(_.Y)
     113    //WriteLn("TRACE"+_MID+"DoExternalFilter 3");
     114      SetMin(EvalSet(_.externalFilter,Real(NameBlock extFlt)
     115      {
     116      //WriteLn("TRACE"+_MID+"DoExternalFilter 4 "+extFlt::_.blockDef::_.name);
     117        Real ok = extFlt::filter(_.Y);
     118      //WriteLn("TRACE"+_MID+"DoExternalFilter 5");
     119        ok
    114120      }))
    115121    })
  • tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_nonLinBlock.tol

    r898821f r1f99b1c  
    291291
    292292  ////////////////////////////////////////////////////////////////////////////
    293   Real do.filter(VMatrix Y)
    294   ////////////////////////////////////////////////////////////////////////////
    295   {
     293  Real filter(VMatrix Y)
     294  ////////////////////////////////////////////////////////////////////////////
     295  {
     296  //WriteLn("TRACE"+_MID+"do.filter 1");
    296297    Matrix Y_ = VMat2Mat(SubRow(Y,_.segment->EquIdx));
    297     PutVMatBlock(Y, (_.segment->EquIdx)[1], 1, Y_-_.Fi)
     298  //WriteLn("TRACE"+_MID+"do.filter 2");
     299    Matrix Yflt = Y_-_.Fi;
     300  //WriteLn("TRACE"+_MID+"do.filter 3");
     301    Real ok = PutVMatBlock(Y, (_.segment->EquIdx)[1], 1, Yflt);
     302  //WriteLn("TRACE"+_MID+"do.filter 4");
     303    ok
    298304  };
    299305
  • tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_nonLinMaster.tol

    r898821f r1f99b1c  
    6161  ////////////////////////////////////////////////////////////////////////////
    6262  {
     63    Set _.bsrMst::_.externalFilter := Select(_.nonLinBlk, Real(NameBlock nlb)
     64    {
     65      EQ(nlb::_.signNoise,-1)
     66    });
    6367    Real ok.1 = _.bsrMst::initialize(0);
    6468    Real ok.2 = SetMin(EvalSet(_.nonLinBlk, Real(NameBlock nlb)
Note: See TracChangeset for help on using the changeset viewer.