Subject: | Bug in power() POD example |
In the POD example for the power method, it says:
my $q5 = exp(1)**( Math::Quaternion->new(pi,0,0) ); # approx (-1 0 0 0)
The arguments to new() are incorrect to achieve that result. To fix the bug, just change this:
(pi,0,0)
to this:
(0,pi,0,0)
--
Thank you,
Bruce Gray (Util of PerlMonks)