line |
!l |
l&&!r |
l&&r |
condition |
157
|
29 |
3 |
24 |
$s->{'fb'} > 0 and $s->{'fc'} > 0 |
|
4 |
11 |
17 |
$s->{'fb'} < 0 and $s->{'fc'} < 0 |
171
|
1 |
9 |
38 |
abs $s->{'e'} >= $s->{'tol1'} and abs $s->{'fa'} > abs $s->{'fb'} |
220
|
0 |
1 |
1 |
$fa > 0 and $fb > 0 |
|
1 |
0 |
0 |
$fa < 0 and $fb < 0 |
227
|
0 |
48 |
8 |
defined $brent_state and _do_find_root_brent($f, $brent_state) |
400
|
100 |
270 |
12 |
defined $outward_state and _do_bracket_outward($f, $outward_state) |
403
|
346 |
22 |
2 |
defined $inward_state and _do_bracket_inward($f, $inward_state) |
409
|
346 |
18 |
4 |
defined $inward_state and $inward_state->{'split'} > $max_iter |
line |
l |
!l&&r |
!l&&!r |
condition |
149
|
0 |
8 |
0 |
$params{'tolerance'} // $_DEFAULT_TOLERANCE |
157
|
24 |
20 |
12 |
$s->{'fb'} > 0 and $s->{'fc'} > 0 or $s->{'fb'} < 0 and $s->{'fc'} < 0 |
167
|
7 |
1 |
48 |
abs $s->{'xm'} <= $s->{'tol1'} or $s->{'fb'} == 0 |
211
|
0 |
13 |
0 |
$params{'max_iterations'} // $DEFAULT_MAX_ITERATIONS |
220
|
1 |
0 |
1 |
$fa > 0 and $fb > 0 or $fa < 0 and $fb < 0 |
324
|
1 |
18 |
0 |
$params{'inward_split'} // $DEFAULT_INWARD_SPLIT |
326
|
1 |
17 |
0 |
$params{'inward_factor'} // $DEFAULT_INWARD_FACTOR |
352
|
1 |
16 |
0 |
$params{'outward_factor'} // $DEFAULT_OUTWARD_FACTOR |
375
|
1 |
6 |
17 |
not defined $x2 or $x1 == $x2 |
379
|
1 |
23 |
0 |
$params{'max_iterations'} // $DEFAULT_MAX_ITERATIONS |
394
|
16 |
1 |
1 |
defined $outward_state or defined $inward_state |