close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#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 16 years ago by Víctor de Buen Remiro

Status: newassigned

comment:2 Changed 16 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: assignedclosed

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

comment:3 Changed 16 years ago by Víctor de Buen Remiro

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

comment:4 Changed 16 years ago by Víctor de Buen Remiro

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.