On Thu, Dec 31, 2009 at 2:01 PM, dfg <d.figueiras.gar...@gmail.com> wrote: > Hi there, > > I have a C# (4.0) program which, at some point, needs to calculate > partial derivatives of arbitrary order of some functions. To do this > the old fashioned way (loops and the like) has turned into horror code > and a nightmare to test. To do it numerically doesn't make the code > much easier to read and follow either and, in addition, it would > introduce numerical errors that would make it impossible for my > program to give the results predicted theoretically. > > So, I'm out there after a symbolic (partial) differentiation engine/ > library that I could interop with from my program roughly as follows: > > - I could pass to the engine the function's definition (in some > format) as well as the differential multiindex (in some other format). > > - The engine would return the definition of the partial derivative (as > per the multiindex) in some format. > > I'd have to deal with parsing/formating the mathematical function, but > I think that would be a minor thing to do compared to coding the > entire partial differentiation logic myself. > > So, during my search, I've come across SAGE and have found out that it > does partial derivatives; it seems great from what I've seen in the > docs and examples, but I have no idea if one can invoke SAGE functions > from a .NET language.
Unfortunately, there is no native port of Sage to Microsoft Windows (I wish there were). So you can't use it from .NET. -- William > > Is this possible and, if yes, could you please explain how this can be > done or point me in the right direction? > > Thank you very much in advance, > > dfg > > -- > To post to this group, send email to sage-support@googlegroups.com > To unsubscribe from this group, send email to > sage-support+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org