blib/lib/Math/Numerical.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 45 | 60.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
149 | 0 | 1 | 0 | $fa > 0 and $fb > 0 |
1 | 0 | 0 | $fa < 0 and $fb < 0 | |
154 | 11 | 3 | 11 | $fb > 0 and $fc > 0 |
3 | 1 | 10 | $fb < 0 and $fc < 0 | |
165 | 0 | 2 | 19 | abs $e >= $tol1 and abs $fa > abs $fb |
line | l | !l | condition |
---|---|---|---|
136 | 1 | 3 | $params{'do_bracket'} // 1 |
137 | 0 | 4 | $params{'tolerance'} // "1e-05" |
138 | 0 | 4 | $params{'max_iteration'} // 100 |
271 | 0 | 4 | $params{'max_iteration'} // 100 |
273 | 0 | 4 | $params{'do_outward'} // 1 |
274 | 0 | 4 | $params{'do_inward'} // 1 |
277 | 0 | 4 | $params{'inward_split'} // 3 |
279 | 0 | 4 | $params{'inward_factor'} // 3 |
281 | 0 | 4 | $params{'outward_factor'} // "1.6" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
149 | 0 | 0 | 1 | $fa > 0 and $fb > 0 or $fa < 0 and $fb < 0 |
154 | 11 | 13 | 1 | $fb > 0 and $fc > 0 or $fb < 0 and $fc < 0 |
164 | 4 | 0 | 21 | abs $xm <= $tol1 or $fb == 0 |
275 | 4 | 0 | 0 | $do_outward or $do_inward |