Changeset f2ee099 in tol


Ignore:
Timestamp:
Mar 11, 2009, 3:48:39 PM (18 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
e433e42
Parents:
1884035
Message:

Simple reorganization

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/stdlib/math/stat/models/bayesian/arima/_arma_process.tol

    r1884035 rf2ee099  
    175175    Real _.n = Max(_.p,_.q)+_.p+1;
    176176  //Real _trc.6 = { WriteLn("TRACE FastCholeskiCovFactor _.n=" << _.n); 0 };
    177     //Calculates de main minor of length _.n of joint ARMA covariance
    178     VMatrix _.cov_arma_n =
    179       ARMAProcess::DoDrop(Pol2VMat(ARMATACov(_.ar,_.ma,_.n), _.n, _.n));
     177
    180178    //Calculates de main minor of length _.n of just pure AR covariance
    181179    VMatrix _.cov_ar_n =
    … …  
    193191      (ARMAProcess::ExtendBandedLowTriangToeplitz(_.Li_ar_n,_.m)+_.n^2)-_.n^2;
    194192  //Real _trc.10 = { WriteLn("TRACE FastCholeskiCovFactor _.Li_ar=" << (Matrix VMat2Mat(_.Li_ar))); 0 };
     193
     194    //Calculates de main minor of length _.n of joint ARMA covariance
     195    VMatrix _.cov_arma_n =
     196      ARMAProcess::DoDrop(Pol2VMat(ARMATACov(_.ar,_.ma,_.n), _.n, _.n));
    195197    //Filters full ARMA covariance of AR factor
    196198    VMatrix _.cov_ma_n = (_.Li_ar_n*_.cov_arma_n*Tra(_.Li_ar_n)+_.n^2)-_.n^2;
Note: See TracChangeset for help on using the changeset viewer.