Boost logo

Ublas :

From: Paul C. Leopardi (leopardi_at_[hidden])
Date: 2006-03-02 09:00:14


Hi all,
GluCat ( http://glucat.sf.net ) defines operator== for multivectors.
For matrix_multi this is implemented by:
1) check the matrices to see if either has zero entries
2) if so, subtract and use norm_inf
3) if no, iterate over both matrices in lock step, comparing entries.
Best regards, Paul Leopardi

On Wednesday 01 March 2006 20:33, Dima Sorkin wrote:
> Quoting Neal Becker :
> > I seems there is no == operator for vector/matrix? I think there should
> > be, at least for simple cases (non-sparse).
>
> Hi.
> There was many discussions on this subjects, see
> http://lists.boost.org/MailArchives/ublas/2005/05/0264.php
> and the discussion in that thread.