Changeset 1f99b1c in tol
- Timestamp:
- Oct 22, 2008, 3:38:45 PM (18 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 1808425
- Parents:
- 898821f
- Location:
- tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/gibbs
- Files:
-
- 3 edited
-
_basicMaster.tol (modified) (1 diff)
-
_nonLinBlock.tol (modified) (1 diff)
-
_nonLinMaster.tol (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_basicMaster.tol
r898821f r1f99b1c 106 106 //////////////////////////////////////////////////////////////////////////// 107 107 { 108 //WriteLn("TRACE"+_MID+"DoExternalFilter 1"); 108 109 VMatrix _.Y := _.modelDef->Y; 110 //WriteLn("TRACE"+_MID+"DoExternalFilter 2"); 109 111 If(!Card(_.externalFilter), 1, 110 112 { 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 114 120 })) 115 121 }) -
tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_nonLinBlock.tol
r898821f r1f99b1c 291 291 292 292 //////////////////////////////////////////////////////////////////////////// 293 Real do.filter(VMatrix Y) 294 //////////////////////////////////////////////////////////////////////////// 295 { 293 Real filter(VMatrix Y) 294 //////////////////////////////////////////////////////////////////////////// 295 { 296 //WriteLn("TRACE"+_MID+"do.filter 1"); 296 297 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 298 304 }; 299 305 -
tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_nonLinMaster.tol
r898821f r1f99b1c 61 61 //////////////////////////////////////////////////////////////////////////// 62 62 { 63 Set _.bsrMst::_.externalFilter := Select(_.nonLinBlk, Real(NameBlock nlb) 64 { 65 EQ(nlb::_.signNoise,-1) 66 }); 63 67 Real ok.1 = _.bsrMst::initialize(0); 64 68 Real ok.2 = SetMin(EvalSet(_.nonLinBlk, Real(NameBlock nlb)
Note: See TracChangeset
for help on using the changeset viewer.
