Hi, I am trying to achieve the following: 

>>> f = Function('f')(M,x)
>>> f = M[x+1] - M[x]
>>> F = lambdify(f)
>>> print F(np.array([5,2,1]),1)
>>> 3

What would be the best way to do it? 


By the way this is part of a bigger goal i.e. discretize derivatives of 
arbitrary order, but I am totally a newbie and I have to go step by step... 
(See my post here: 
http://stackoverflow.com/questions/18701290/derivatives-discretization-with-sympy
)

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to