On Wednesday, July 18, 2012 9:25:55 AM UTC-4, Urs Hackstein wrote: > > On Tuesday, July 17, 2012 3:30:05 PM UTC+2, kcrisman wrote: >> >> >> >> Dear all, >>> >>> it seems that there is no routine to interpolate points >>> \in\mathbb{C}\times\mathbb{C} by functions f\colon\mathbb{ C}ยท\to\mathbb{C} >>> other than cubic splines until now, but I assume that it is not too >>> difficult to extend the existing routines. Thus I wonder whether it is >>> possible to have a look on the source code of the routines find_fit and >>> complex_cubic_spline. >>> >> >> Have you tried >> >> find_fit?? >> >> and >> >> complex_cubic_spline?? >> >> The double question mark should give the source. Of course, at least >> find_fit uses another library to do its thing. >> >> Also, the source is readable at >> http://hg.sagemath.org/sage-main/file/9ab4ab6e12d0/sage/ (until the next >> release, anyway) >> >> > > Thanks a lot for the remark! > As fnd_fit is based on scipy.optimize.leastsq and scipy.optimize.leastsq > allows higher-dimensional functions, it should be possible to extend or > modify find_fit to the problem of interpolating points > ((x_11,x_12),(f_11,f_12)), \dots, ((x_n1,x_n2),(f_n1,f_n2)) by a function > f\colon\R^2\to\R^2. Unfortunately, we did not manage to create a sage-clone > and I am a very beginner in python programming; thus I added a file with a > first attempt which needs a lot of review and further work as some crucial > steps need still to be modified. Hope that an experienced programmer would > be interested to review and extend the frame. >
I'm not sure what a .doc document would do for us? Maybe I'm missing something. Anyway, the best thing to do is to read http://www.sagemath.org/doc/developer/walk_through.html and then attach a patch to a ticket for this. This can be done by going to http://trac.sagemath.org/sage_trac/ and following the instructions for getting an account, then stating the problem on a new ticket as you see it. (I don't feel like I understand exactly what you want enough to state it properly.) Then you could even cut and paste the code right on the ticket, or create a patch if you are able to follow the patch-creation instructions. Plus, then you would automatically get emails on updates! - kcrisman -- -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org