From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2007-02-16 02:22:22
"Dave Steffen" <dgsteffen_at_[hidden]> wrote in message
> Glenn Schrader writes:
> > Comparing matrices and vectors is a topic that I have had to deal
> > with.
> Yeah - big issue for us too.
> > An important issue here is that there are different ways of
> > comparing that are appropriate for different cases. It really
> > depends on the computation that produced the vector or matrix.
> [ ... examples of different ways to compare matrices snipped ... ]
> And yup to all of those.
> Even worse, we occasionally have even more interesting mathematical
> beasties --- "states" (e.g. vector + covariance matrix) and
> probability distributions --- to compare.
> What I'm poking at right now is a generic way to
> A) teach mathematical objects how to compare themselves in
> various ways
> B) have that work smoothly with the Boost Test stuff.
Please look at the boost::test::predicate_result class for creating the
"Boost.Test friendly" predicate. It allows to provide specific details of
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk