Changeset 6d34a42 in tol
- Timestamp:
- Mar 4, 2009, 11:03:38 AM (18 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 45d466d
- Parents:
- ff605f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.estim.tol
rff605f5 r6d34a42 85 85 { 86 86 Real outIsATimeSerie = ObjectExist("Serie", "nsh::_.output::_.serie"); 87 Real outIsAVector = ObjectExist("Matrix", "nsr::_.output::_.vector"); 88 Text grammar = If(outIsATimeSerie,"Serie","Matrix"); 87 Real outIsAVector = ObjectExist("Matrix", "nsh::_.output::_.vector"); 89 88 WriteLn("[GetLinearBlkEffects] Building node "+nsh::_.id_node); 90 89 Set effect = EvalSet(nsh::_.input, Anything(NameBlock inp) … … 171 170 { 172 171 WriteLn("[GetLinearBlkEffects] Building vector input "+inpName); 172 Ratio tf = If(!ObjectExist("Ratio","inp::_.transferFunction"),1/1, 173 inp::_.transferFunction); 174 Polyn omega = Numerator (tf); 175 Polyn delta = Denominator(tf); 176 Real p = Degree(omega); 177 Real q = Degree(delta); 178 Real h = Max(p,q); 179 Real noTransFunFlag = h==0; 180 173 181 Matrix eff = Case( 174 182 Not(inp::_.enabled),
Note: See TracChangeset
for help on using the changeset viewer.
