
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@steffen a@t numerica d@ot us (remove @'s to email me)