line |
true |
false |
branch |
180
|
2 |
3 |
if ($fb > $fa) |
207
|
0 |
2 |
if (($bx - $u) * ($u - $cx) > 0) { } |
|
2 |
0 |
elsif (($cx - $u) * ($u - $ulim) > 0) { } |
|
0 |
0 |
elsif (($u - $ulim) * ($ulim - $cx) >= 0) { } |
211
|
0 |
0 |
if ($fu < $fc) { } |
|
0 |
0 |
elsif ($fu > $fb) { } |
232
|
0 |
2 |
if ($fu < $fc) |
273
|
5 |
0 |
unless defined $ITMAX |
274
|
4 |
1 |
unless defined $tol |
290
|
5 |
44 |
if abs $x - $xm <= $tol2 - 0.5 * ($b - $a) |
292
|
39 |
5 |
if (abs $e > $tol1) |
298
|
15 |
24 |
if ($q = 2 * ($q - $r)) > 0 |
304
|
34 |
0 |
unless (abs $p >= abs 0.5 * $q * $etemp or $p <= $q * ($a - $x) or $p >= $q * ($b - $x)) |
313
|
5 |
29 |
if ($u - $a < $tol2 or $b - $u < $tol2) |
324
|
6 |
4 |
$x >= $xm ? : |
330
|
39 |
5 |
abs $d >= $tol1 ? : |
337
|
33 |
11 |
if ($fu <= $fx) { } |
339
|
14 |
19 |
if ($u >= $x) { } |
353
|
5 |
6 |
if ($u < $x) { } |
362
|
7 |
4 |
if ($fu <= $fw or $w == $x) { } |
|
4 |
0 |
elsif ($fu <= $fv or $v == $x or $v == $w) { } |
376
|
0 |
5 |
if $iter >= $ITMAX |