Sympy Function pointer