blib/lib/Math/Brent.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 22 | 77.2 |
line | l | !l | condition |
---|---|---|---|
273 | 0 | 5 | $ITMAX //= 100 |
274 | 1 | 4 | $tol //= 1e-08 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
304 | 5 | 0 | 34 | abs $p >= abs 0.5 * $q * $etemp or $p <= $q * ($a - $x) |
5 | 0 | 34 | abs $p >= abs 0.5 * $q * $etemp or $p <= $q * ($a - $x) or $p >= $q * ($b - $x) | |
313 | 4 | 1 | 29 | $u - $a < $tol2 or $b - $u < $tol2 |
362 | 5 | 2 | 6 | $fu <= $fw or $w == $x |
4 | 0 | 2 | $fu <= $fv or $v == $x | |
4 | 2 | 0 | $fu <= $fv or $v == $x or $v == $w |