Subject: | Error in documentation |
There is an error in the documentation for Math::Brent. The function
BracketMinimum is listed in the Synopsis as taking four arguments:
my ($ax,$bx,$cx,$fa,$fb,$fc)=BracketMinimum($ax,$bx,$cx,\&func);
It is clear from the source code that this function takes only three
arguments, and that the argument $cx should be eliminated from the
function call. In fact, the third paragraph under the Description
section describes the calling of BracketMinimum correctly.
The omission of $cx from the function call in the Synopsis is the only
change needed. The remainder of the documentation appears to be correct.
Thank you for submitting this code to CPAN.