(phi_c, x, lb = 0, ub = 1)
| 40 | |
| 41 | |
| 42 | def phi_(phi_c, x, lb = 0, ub = 1): |
| 43 | mask = np.logical_or(x<lb, x>ub) * 1.0 |
| 44 | return np.polynomial.polynomial.Polynomial(phi_c)(x) * (1-mask) |
| 45 | |
| 46 | |
| 47 | def get_phi_psi(k, base): |
nothing calls this directly
no outgoing calls
no test coverage detected