Hi everyone, I am a very new to computer algebra systems, so I apologize if my question is somewhat naive. I am working on a fairly complex model involving differential equations, and I am trying to automatically calculate the sensitivity equations for all the equations in the model.
For example, for a system with 16 parameters, and 6 differential equations, we'd end up with 96 sensitivity equations. The relationship between a differential equation and a sensitivity equation, is described here: http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2638157/ (Equation 17) Given the vector f of differential equations as an array of SymPy symbolic expressions, and a vector of all the parameters and the variables (as SymPy symbols), is there an easy way to construct a matrix formula to compute the sensitivity equation for variable i, and parameter j? Alternatively, is the easiest approach to just manually loop over all variables and parameters, and fill in by hand a numpy matrix of dtype object? Thanks for your time, Federico -- 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.
