[sage-support] Re: Do we have multiset?

2011-06-25 Thread Kwankyu
Hi, Dicts do not have methods for multisets. I will wait for Python 2.7 in Sage. Kwankyu -- 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://

[sage-support] Re: Do we have multiset?

2011-06-25 Thread Rado
you can use dicts multiset = {1: 1, 2: 4, 3: 9} -- 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: ht

[sage-support] Do we have multiset?

2011-06-25 Thread Kwankyu
Hi, Do we have multiset in Sage or Python? I learned that Python 2.7 has Counter collection which implements multiset. If not, is there a simple construct to mimic multiset? Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send ema

[sage-support] Re: Plotting Electric Field Lines

2011-06-25 Thread Volker Braun
You can use one of the ODE solvers... -- 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.s

[sage-support] Plotting Electric Field Lines

2011-06-25 Thread ObsessiveMathsFreak
I'm currently looking to draw graphs of electric field lines for arrangments of several charges. Is there a standard way of doing this in sage? The equipotential lines can be draw straightforwardly using countor_plot, but how can the electric field lines--which are orthogonal trajectories of the e

Re: [sage-support] Re: Carrying forward Worksheets from an earlier version of Sage

2011-06-25 Thread Sourav Sen Gupta
You are right Jason. I should've mentioned. I was talking about the Windows installations. I thought it would be similiar to that in case of Linux, but it was not. Any way out? Sourav On Sat, Jun 25, 2011 at 2:57 PM, Jason Grout wrote: > On 6/25/11 4:05 AM, Sourav Sen Gupta wrote: >> >> Dear Sa

[sage-support] Re: Carrying forward Worksheets from an earlier version of Sage

2011-06-25 Thread Jason Grout
On 6/25/11 4:05 AM, Sourav Sen Gupta wrote: Dear Sage-Support Group, Is there an obvious way to carry forward the old Worksheets from an earlier Binary installation of Sage to a new one when I install a newer Binary? I do it the dirty way now: Download all worksheets before I migrate and upload

[sage-support] Carrying forward Worksheets from an earlier version of Sage

2011-06-25 Thread Sourav Sen Gupta
Dear Sage-Support Group, Is there an obvious way to carry forward the old Worksheets from an earlier Binary installation of Sage to a new one when I install a newer Binary? I do it the dirty way now: Download all worksheets before I migrate and upload them all in the new version. I will really ap