line |
!l |
l&&!r |
l&&r |
condition |
165
|
29 |
3 |
24 |
$s->{'fb'} > 0 and $s->{'fc'} > 0 |
|
4 |
11 |
17 |
$s->{'fb'} < 0 and $s->{'fc'} < 0 |
179
|
1 |
9 |
38 |
abs $s->{'e'} >= $s->{'tol1'} and abs $s->{'fa'} > abs $s->{'fb'} |
228
|
0 |
1 |
1 |
$fa > 0 and $fb > 0 |
|
1 |
0 |
0 |
$fa < 0 and $fb < 0 |
235
|
0 |
48 |
8 |
defined $brent_state and _do_find_root_brent($f, $brent_state) |
410
|
100 |
270 |
12 |
defined $outward_state and _do_bracket_outward($f, $outward_state) |
413
|
346 |
22 |
2 |
defined $inward_state and _do_bracket_inward($f, $inward_state) |
419
|
346 |
18 |
4 |
defined $inward_state and $inward_state->{'split'} > $max_iter |
line |
l |
!l&&r |
!l&&!r |
condition |
156
|
0 |
8 |
0 |
$params{'tolerance'} // $_DEFAULT_TOLERANCE |
165
|
24 |
20 |
12 |
$s->{'fb'} > 0 and $s->{'fc'} > 0 or $s->{'fb'} < 0 and $s->{'fc'} < 0 |
175
|
7 |
1 |
48 |
abs $s->{'xm'} <= $s->{'tol1'} or $s->{'fb'} == 0 |
219
|
0 |
13 |
0 |
$params{'max_iterations'} // $DEFAULT_MAX_ITERATIONS |
228
|
1 |
0 |
1 |
$fa > 0 and $fb > 0 or $fa < 0 and $fb < 0 |
332
|
1 |
18 |
0 |
$params{'inward_split'} // $DEFAULT_INWARD_SPLIT |
334
|
1 |
17 |
0 |
$params{'inward_factor'} // $DEFAULT_INWARD_FACTOR |
361
|
1 |
16 |
0 |
$params{'outward_factor'} // $DEFAULT_OUTWARD_FACTOR |
385
|
1 |
6 |
17 |
not defined $x2 or $x1 == $x2 |
389
|
1 |
23 |
0 |
$params{'max_iterations'} // $DEFAULT_MAX_ITERATIONS |
404
|
16 |
1 |
1 |
defined $outward_state or defined $inward_state |