Hi Shawn, On Monday 01 February 2010 08:07:59 Shawn H Corey wrote: > Lutz Gehlen wrote:
[...] > Is it a module or just a single algorithm? If it's a module, > Math::Vector may be better since it works with vectors. For a > single algorithm (perhaps with multiple subroutines with > different parameters), I think Math::Vector::BestRotation might > be better. I had thought about Math::Matrix::BestRotation before, but maybe Math::Vector::BestRotation is even better. I had refrained from choosing these names because hardly anybody seems to use Math::Vector and Math::Matrix subspaces. However, I admit that this is rather lame reason not to do so. > Of course, best rotation implies there are alternatives, like > best translation. If not, you may want to consider > Math::Vector::BestFit A best translation would be one thing, but it doesn't have to be a rigid body transformation at all. Maybe somebody wants to allow some squeezing or so. I definitely don't want to claim to offer the best fit under all circumstances. But it is a useful question to raise. Thanks for your comments and best regards, Lutz