This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sympy import * | |
from sympy.plotting import plot3d | |
x, y = symbols('x y') | |
# This is my own helper function to evaluate a multivariate expression. Could be made more generic... | |
def evaluate(expression): | |
return expression.subs(x, center[0]).subs(y, center[1]) |