File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1730,17 +1730,17 @@ def _simple_s_curve(power):
17301730 1 - (2 - 2 * p ) ** power )
17311731
17321732_parabolic_invcdf = _newton_raphson (
1733- f_inv_estimate = _simple_s_curve (0.583367470424302 ),
1733+ f_inv_estimate = _simple_s_curve (0.583367470424302 ), # (7/12)
17341734 f = lambda t : - 1 / 4 * t ** 3 + 3 / 4 * t + 1 / 2 ,
17351735 f_prime = lambda t : 3 / 4 * (1.0 - t * t ))
17361736
17371737_quartic_invcdf = _newton_raphson (
1738- f_inv_estimate = _simple_s_curve (0.4258865685331 ),
1738+ f_inv_estimate = _simple_s_curve (0.4258865685331 ), # (204/479)
17391739 f = lambda t : 3 / 16 * t ** 5 - 5 / 8 * t ** 3 + 15 / 16 * t + 1 / 2 ,
17401740 f_prime = lambda t : 15 / 16 * (1.0 - t * t ) ** 2 )
17411741
17421742_triweight_invcdf = _newton_raphson (
1743- f_inv_estimate = _simple_s_curve (0.3400218741872791 ),
1743+ f_inv_estimate = _simple_s_curve (0.3400218741872791 ), ( 17 / 50 )
17441744 f = lambda t : 35 / 32 * (- 1 / 7 * t ** 7 + 3 / 5 * t ** 5 - t ** 3 + t ) + 1 / 2 ,
17451745 f_prime = lambda t : 35 / 32 * (1.0 - t * t ) ** 3 )
17461746
You can’t perform that action at this time.
0 commit comments