A module would need to be able to define vectors as objects and overload operators for addition, subtraction, scalar product and vector product.
There are plenty of modules in the geometry / algebra / math / pdl namespace, not sure which to recommend, personally I might start with my own toy project to play around with overloading.
Salva's module looks pretty much how I'd envision it. :)
(though I might ponder about allowing 2d cross products by adding a third 0 component)
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re: Is there a Module that can handle a set of data points?
by LanX
in thread Is there a Module that can handle a set of data points?
by perlynewby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |