sympy undefined function of many variables -
I am trying to perform some functional analysis in Simpe with a function from R ^ N -> R ^ N. I am hoping to make the function of N variable and there is undefined partial derivatives for each variable. I have found that I want to make symbols using piece signaling
vars = symbols ('a1: 10') Then I
f = function ('f') (wars) and already I see that I have a problem My variable created a function of the tupal, not the function of my variable Not surprisingly,
f.diff (wars [0]) produces an error that does not contain any attributes of 'Tupal' object 'diff ' is not.
Am I an easy way to explain the way to interpret my function or to correct the way to define the difference between toplex, as if I can partially get it? I need a slash declaration of variables because I am hoping to do this for one arbitrary numbers. Thanks! Opening your tipple will help you in the first step:
& nbsp;
gt; & Gt; & Gt; F = function ('f')> gt; & Gt; & Gt; F (* v) f (x0, x1, x2, x3, x4, x5, x6, x7, x8, x9)
Comments
Post a Comment