private static validate ( callable $function, number $a, number $b, number $tol ) | ||
$function | callable | f(x) callback function |
$a | number | The start of the interval which contains a root |
$b | number | The end of the interval which contains a root |
$tol | number | Tolerance; How close to the actual solution we would like. |