|
Boost : |
From: Dave Steffen (dgsteffen_at_[hidden])
Date: 2007-02-14 12:04:44
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.
Yup.
[ ... 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
and
B) have that work smoothly with the Boost Test stuff.
I don't have a good solution yet... but gimme another day or two. :-)
----------------------------------------------------------------------
Dave Steffen, Ph.D. Disobey this command!
Software Engineer IV - Douglas Hofstadter
Numerica Corporation
dg_at_steffen a_at_t numerica d_at_ot us (remove @'s to email me)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk