than$z = $x x $y / ($x . $y)
(See the Math::VectorReal module, for example).$z = $x->cross($y)->divide_by($x->dot($y));
In reply to Re^2: Things I Don't Use in Perl
by itub
in thread Things I Don't Use in Perl
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |