in reply to Math::Matrix anyone?
You do realize that you have full access to the source code, right?
sub cross_product { my $vectors = shift; my $class = ref($vectors); my $dimensions = @{$vectors->[0]}; return undef unless $dimensions == @$vectors + 1;
indicates that cross_product() expects to receive a single (blessed) matrix that contains the vectors to be productizedmultiplied.
I'm not saying that this access excuses unclear documentation, of course. But I suspect you can use the source to answer your own questions faster then you'll get answers from someone else. Producing a patch for the module might be a good result of your investigation.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Math::Matrix anyone? (source)
by GeoBoater (Initiate) on Aug 02, 2006 at 21:21 UTC | |
|
Re^2: Math::Matrix anyone? (source)
by Anonymous Monk on Oct 05, 2007 at 04:23 UTC |