note
itub
I find overloaded operators very useful in the limited context of mathematical objects such as vectors and matrices. They can make these kinds of formulas more legible IMHO: I'd rather have
<code>
$z = $x x $y / ($x . $y)
</code>
than
<code>
$z = $x->cross($y)->divide_by($x->dot($y));
</code>
(See the [cpan://Math::VectorReal] module, for example).
485945
485955