Lutz Gehlen wrote: > Hello everybody, > I have developed a module that computes the best rotation that maps > a set of vectors onto another set of vectors. "Best rotation" means > here that it minimizes the sum of the squared distances between each > two corresponding vectors. > > The working title of the module is Math::BestRotation. The name is > not entirely accurate, because the module can also (if the user > chooses so) find the best orthogonal map (including rotations > combined with a reflection). So Math::BestOrthogonal or > Math::BestOrthogonalMap would be alternative names. However, I think > for people trying to find my module, the keyword rotation is most > helpful. > > I'm not really looking for a new name, personally I am happy with > Math::BestRotation. This is rather a "request for comments" so to > speak. So if you have any comments, please let me know. > > Thanks and best wishes > Lutz >
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. Of course, best rotation implies there are alternatives, like best translation. If not, you may want to consider Math::Vector::BestFit -- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. I like Perl; it's the only language where you can bless your thingy.