Module:Q-odd-limit intervals: Difference between revisions

ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 105: Line 105:
error_abs_direct = math.abs(nearest_size * step_size - true_size)
error_abs_direct = math.abs(nearest_size * step_size - true_size)
error_abs_pval = math.abs(approx_size - true_size)
error_abs_pval = math.abs(approx_size - true_size)
error_rel_direct = 100 * nearest_size
error_rel_direct = 100 * error_abs_direct / step_size
error_rel_pval = 100 * error_abs_pval / step_size
error_rel_pval = 100 * error_abs_pval / step_size
error_list[i] =  
error_list[i] =  
Line 155: Line 155:
"|-\n" ..
"|-\n" ..
"! rowspan=\"2\" | Interval and complement\n" ..
"! rowspan=\"2\" | Interval and complement\n" ..
"! colspan=\"2\" | Direct approximation\n" ..
"! colspan=\"2\" | Direct approximation<br />(even if inconsistent)\n" ..
"! colspan=\"2\" | Patent val mapping\n" ..
"! colspan=\"2\" | Patent val mapping\n" ..
"|-\n" ..
"|-\n" ..