On Thu, Jan 15, 2015 at 10:51 PM, William Stein <[email protected]> wrote: > On Thu, Jan 15, 2015 at 10:44 PM, Nathann Cohen <[email protected]> > wrote: >> Hello, >> >>> I would recommend looking up what Maple and Mathematica (and Matlab) >>> do regarding their numerical integration API and summarizing each here >>> before making any decisions. >> >> If this is what it takes to fix this code as you think it should, then >> I must step back. While reviewing #17507 I wondered about this >> problem, but I am scared by the amount of time it would take me to >> learn about symbolics and integrations in Sage, and even more to >> compare our interface with softwares I never used (and for which I do >> not have a licence). Perhaps others, more versed in these domains, >> will know how to act. > > Given the enormous amount of energy, focus and talent you have, I'm > surprised that you don't want to look at how other people solve these > API problems, e.g., [1] and [2]. I'm sorry if my suggestion to look > at them discouraged you. It's definitely *only* a suggestion -- you > can certainly ignore it. It's just been my experience that learning > from other resources and constantly fighting "not invented here > syndrome" is generally very beneficial to the Sage project. Anyway, > I'm sure somebody else will pipe up soon. > > [1] http://reference.wolfram.com/language/ref/NIntegrate.html > [2] http://www.maplesoft.com/support/help/Maple/view.aspx?path=evalf/Int > > Actually, I just looked at [1], and it's almost exactly consistent > with our "integrate" command, so we really should rewrite > numerical_integral to have an API that is as close to [1] as > possible...
(Amusingly, I've spent all evening staring at and modifying code you wrote Nathann, which is saving me a lot of time :-). Thanks!) > > William > >> >> Nathann >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sage-devel" 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/sage-devel. >> For more options, visit https://groups.google.com/d/optout. > > > > -- > William Stein > Professor of Mathematics > University of Washington > http://wstein.org -- William Stein Professor of Mathematics University of Washington http://wstein.org -- You received this message because you are subscribed to the Google Groups "sage-devel" 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/sage-devel. For more options, visit https://groups.google.com/d/optout.
