Ok, an short update: - Maxima passes all test when building on cygwin with the sources used by sage.
- in interfaces/maxima.py cygwin is treated differently when parsing of the result from Maxima compared to everybody else. There are two places in the code that do things differently depending on whether "cygwin" is set or not. I do not know who exactly wrote the code, since there are several copyrights, but I hope that person can take a look what might be wrong. - The "(%o31)" come from within Maxima. - When calling functions in piecewise.py Maxima does the right thing, but the output is not parsed properly. An example: sage: f = lambda x:x^2 sage: f = Piecewise([[(-1,1),f]]) sage: f.fourier_series_partial_sum(3,1) ; (%o31) "" (%o32) ; (%o35) "" (%o36) ; (%o40) "" (%o41) ; (%o44) "" (%o45) ; (%o48) 2/3 (%o49) ; (%o54) "" (%o55) ; (%o58) "" (%o59) ; (%o63) "" (%o64) ; (%o67) "" (%o68) ; (%o71) -4/%pi^2 (%o72) ; (%o75) "" (%o76) ; (%o79) "" (%o80) ; (%o84) "" (%o85) ; (%o88) "" (%o89) ; (%o92) 1/%pi^2 (%o93) ; (%o98) "" (%o99) ; (%o102) "" (%o103) ; (%o107) "" (%o108) ; (%o111) "" (%o112) ; (%o115) 0 (%o116) kill(sage19); (%o118) done (%i119) _s_start_28; (%o119) _s_start_28 (%i120) sage20 : integrate((x^2)*sin(%pi*x*2/1)/1, x, -1, 1 )$""; ; (%o121) "" (%o122) _s_stop_28 ; (%o125) "" (%o126) ; (%o130) "" (%o131) ; (%o134) "" (%o135) ; (%o138) 0 (%o139) '1/3 + ((-4/(pi^2))*cos(1*pi*x/1) + 0*sin(1*pi*x/1)) + ((1/ (pi^2))*cos(2*pi*x/1) + 0*sin(2*pi*x/1))' I have to do other things for the rest of the day, but hopefully have some time tomorrow to debug this further. Cheers, Michael --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---