Sympy Function pointers