(phi_c, x, lb = 0, ub = 1)
| 16 | return out |
| 17 | |
| 18 | def phi_(phi_c, x, lb = 0, ub = 1): |
| 19 | mask = np.logical_or(x<lb, x>ub) * 1.0 |
| 20 | return np.polynomial.polynomial.Polynomial(phi_c)(x) * (1-mask) |
| 21 | |
| 22 | def get_phi_psi(k, base): |
| 23 |
nothing calls this directly
no outgoing calls
no test coverage detected