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

Closed 14 years ago

Last modified 14 years ago

#1046 closed trick (fixed)

Force symmetry when you are sure it is

Reported by: Jorge Owned by: Víctor de Buen Remiro
Priority: highest Milestone: Mantainance
Component: Math Version: 2.0.1
Severity: blocker Keywords: symmetric
Cc:

Description

There are situations in which the symmetry of a computed matrix is assumed to be symmetruc but for rounding errors the result is not. In those cases it is advisable to force the matrix to be symmetric:

  Matrix symMat = (Tra(nearSymMat) + nearSymMat)*0.5;

In [2952] this trick is used.

Change History (2)

comment:1 Changed 14 years ago by Jorge

Resolution: fixed
Status: newclosed

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

(In [2954]) Fixes #1046
Fixes #1047

Note: See TracTickets for help on using tickets.