#663 closed defect (fixed)
Pol2VMat fails sometimes in forward polinomials
| Reported by: | Víctor de Buen Remiro | Owned by: | Víctor de Buen Remiro |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | Math | Version: | 1.1.7 |
| Severity: | blocker | Keywords: | PolVMat, PolMat |
| Cc: |
Description
In this code, Matrix PolMat works fine but equivalent VMatrix Pol2VMat returns a matrix of zeroes
//Regular AutoRegressive degree
Real p = IntRand(2,2);
//Regular AutoRegressive polynomial
Polyn ar = RandStationary(p);
//Regular Moving Average degree
Real q = IntRand(3,3);
//Regular Moving Average polynomial
Polyn ma = RandStationary(q);
Polyn psiF = ChangeBF(Expand(ma/ar,Max(p,q)));
Matrix cov_za_t_ = PolMat (psiF, p, q);
VMatrix cov_za_t = Pol2VMat(psiF, p, q);
WriteLn("cov_za_t_ = "<<cov_za_t_);
WriteLn("cov_za_t = "<<Matrix VMat2Mat(cov_za_t));
Change History (4)
comment:1 Changed 17 years ago by
| Status: | new → assigned |
|---|
comment:2 Changed 17 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:4 Changed 17 years ago by
A new standard TOL test has been added to check this and other tickets about Pol2VMat and related functions
Note: See
TracTickets for help on using
tickets.

(In [773]) Simplified cycles in BPol2sparse
Fixes #663