(x, y)
| 476 | return a*(x-0.5)**2 + b*(y-0.5)**2 + c*x*y |
| 477 | |
| 478 | def gradient_quad(x, y): |
| 479 | return (2*a*(x-0.5) + c*y, 2*b*(y-0.5) + c*x) |
| 480 | |
| 481 | x = np.array([0.2, 0.33367, 0.669, 0., 1., 1., 0.]) |
| 482 | y = np.array([0.3, 0.80755, 0.4335, 0., 0., 1., 1.]) |
no outgoing calls
no test coverage detected
searching dependent graphs…