in reply to Is there a Module that can handle a set of data points?
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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is there a Module that can handle a set of data points?
by perlynewby (Scribe) on Nov 13, 2015 at 11:42 UTC | |
|
Re^2: Is there a Module that can handle a set of data points?
by perlynewby (Scribe) on Nov 13, 2015 at 11:49 UTC | |
by hippo (Archbishop) on Nov 13, 2015 at 12:10 UTC |