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 15 years ago

Closed 15 years ago

Last modified 15 years ago

#910 closed defect (fixed)

Fallo en la fnción MMtSqr de VMatrix en el caso sparse

Reported by: Víctor de Buen Remiro Owned by: Víctor de Buen Remiro
Priority: highest Milestone:
Component: ASCII data files Version:
Severity: blocker Keywords:
Cc:

Description

Si se ejecuta este código TOL

VMatrix Xs = Rand(10,16,-1,1,"Cholmod.R.Sparse",0.20*10*16);
VMatrix Xd = Convert(Xs,"Blas.R.Dense");
VMatrix XsXst = MMtSqr(Xs);
VMatrix XdXdt = MMtSqr(Xd);
VMatrix XXt = MtMSqr(Tra(Xs));
Real q1 = Max(0,1 - VMatMax(Abs(XsXst-XXt)));
Real q2 = Max(0,1 - VMatMax(Abs(XdXdt-XXt)));

Se puede ver como la versión densa de MMtSqr es congruente con la MtMSqr de la traspuesta mientras que la versión sparse no lo es

Change History (3)

comment:1 Changed 15 years ago by Víctor de Buen Remiro

(In [2169]) refs #910

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

Resolution: fixed
Status: newclosed

(In [2170]) Fixes #910

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

(In [2174]) Fixes #910

Note: See TracTickets for help on using tickets.