MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / quad

Function quad

lib/matplotlib/tests/test_triangulation.py:475–476  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

473 (a, b, c) = (1.23, -4.79, 0.6)
474
475 def quad(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)

Callers 1

test_triinterpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…