[sage-support] Re: Using The VirtualBox Image on Mac OS X

2009-12-14 Thread davidgal...@gmail.com
To add to the mix, I have had no trouble running the virtualbox version of sage on my mac (mini, OS 10.5.8) Dave Galant On Dec 15, 5:40 am, William Stein wrote: > On Mon, Dec 14, 2009 at 1:41 PM, Marshall Hampton wrote: > > I have been unable to get any of the virtualbox sages running on my > >

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Christopher Olah
>> I think that having a way to make anonymous functions is very >> important. While, as someone relatively new to sage, I haven't used in >> sage, I use it all the time in math (For example, my prefered >> definition of the Mandlebrot set is {x|x ∊ ℂ; lim_(n->∞) >> (λz:z^2+x)ⁿ(0)≠∞} )... >> >> I q

Re: [sage-support] Sorted inconsistent?

2009-12-14 Thread Mike Hansen
Hello, On Tue, Dec 15, 2009 at 10:50 AM, Rolandb wrote: > R.=QQ[] > print sorted([(A, 3), (A - 2*B, 1)]) > print sorted([(-A + 2*B, 1), (A, 3)]) > > Outcome not equal. Issue of Python or Sage? I don't think they should necessarily be equal as A - 2*B and -A + 2*B are different polynomials. --Mi

[sage-support] Sorted inconsistent?

2009-12-14 Thread Rolandb
Hi, consider: R.=QQ[] print sorted([(A, 3), (A - 2*B, 1)]) print sorted([(-A + 2*B, 1), (A, 3)]) Outcome not equal. Issue of Python or Sage? Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googl

Re: [sage-support] Re: Using The VirtualBox Image on Mac OS X

2009-12-14 Thread William Stein
On Mon, Dec 14, 2009 at 1:41 PM, Marshall Hampton wrote: > I have been unable to get any of the virtualbox sages running on my > macs.  Last time I tried I downloaded virtualbox 3.1, and importing > the appliance failed on both my mac pro (running 10.4.11) and my > laptop (running 10.5.something).

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Marshall Hampton
On Dec 14, 5:23 pm, Jaap Spies wrote: > Maybe you are also a lisp lover. But please, let Sage be as close to > Python as possible! > > Jaap Lisp lover! Now those are fightin' words! -Marshall -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this gro

[sage-support] Re: zero

2009-12-14 Thread Jason Grout
marcW wrote: > hi, > I'm really surprised about the consideration for a remark like a > newbie like me. Well, we definitely like to listen to people who give suggestions! > Of course computational precision is important, the little game i was > showing leads to a soluion > around 0.1 for ra

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Jason Grout
Robert Bradshaw wrote: > On Dec 14, 2009, at 12:15 PM, Dag Sverre Seljebotn wrote: > >> Robert Bradshaw wrote: >>> On Dec 14, 2009, at 11:43 AM, Carlos Córdoba wrote: >>> I have to agree with Marshall, because it could be confusing for new sage users that come from python to see such a d

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Jason Grout
Christopher Olah wrote: > I think that having a way to make anonymous functions is very > important. While, as someone relatively new to sage, I haven't used in > sage, I use it all the time in math (For example, my prefered > definition of the Mandlebrot set is {x|x ∊ ℂ; lim_(n->∞) > (λz:z^2+x)ⁿ(0

[sage-support] Re: LaTeX size/alignment in SAGE plots

2009-12-14 Thread Jason Grout
ma...@mendelu.cz wrote: > No idea, but I observed also similar problems. > > The first idea was that this is problem from mathplotlib, but I > followed the example at http://www.scipy.org/Cookbook/Matplotlib/UsingTex > and tried the following > > P=plot(x^2,(x,-3,3)) > T=text(r"$\displaystyle\sum

Re: [sage-support] latex binary and dvips binary

2009-12-14 Thread Minh Nguyen
Hi Mikie, On Tue, Dec 15, 2009 at 10:04 AM, Mikie wrote: > Is the latex and dvips binary installed in the Sage directory? If so > where? If you're asking whether or not LaTeX is distributed with Sage, the answer is no. If you're asking whether or not dvips is distributed with Sage, the answer i

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Jaap Spies
Marshall Hampton wrote: > > Mathematica's syntax can be quite dense, which has the same > disadvantage as Perl code in my opinion - it can be hard to read. But > sometimes it is nice to be able to do so much concisely. I miss it > sometimes. > Maybe you are also a lisp lover. But please, let Sag

[sage-support] latex binary and dvips binary

2009-12-14 Thread Mikie
Is the latex and dvips binary installed in the Sage directory? If so where? Thanx -- 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.go

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Christopher Olah
I think that having a way to make anonymous functions is very important. While, as someone relatively new to sage, I haven't used in sage, I use it all the time in math (For example, my prefered definition of the Mandlebrot set is {x|x ∊ ℂ; lim_(n->∞) (λz:z^2+x)ⁿ(0)≠∞} )... I quite like the idea o

[sage-support] Sage 4.2.1 under Windows no longer with VMware?

2009-12-14 Thread murray
Is there no way now to run Sage under Windows (XP) with VMware Workstation -- only with VirtualBox? (I thought VMware Workstation 6.5 should be able to import the virtual appliance beginning with the sage.ovf file, this being, apparently, one of the types of things VMware can import. But I get a m

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Alex Ghitza
On Mon, Dec 14, 2009 at 10:31:14PM +0100, Jaap Spies wrote: > Martin Rubey wrote: > > Carlos Córdoba writes: > > > >> Anyway, the use of anonymous functions is mostly useful on constructs > >> that operate over lists, like map and reduce. In 10 years of using > >> Mathematica I've ever needed to d

[sage-support] Re: Using The VirtualBox Image on Mac OS X

2009-12-14 Thread Marshall Hampton
I have been unable to get any of the virtualbox sages running on my macs. Last time I tried I downloaded virtualbox 3.1, and importing the appliance failed on both my mac pro (running 10.4.11) and my laptop (running 10.5.something). I have had no problems on a windows xp host. -Marshall On Dec

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Marshall Hampton
Mathematica's syntax can be quite dense, which has the same disadvantage as Perl code in my opinion - it can be hard to read. But sometimes it is nice to be able to do so much concisely. I miss it sometimes. -Marshall On Dec 14, 3:31 pm, Jaap Spies wrote: > > I truly hope this 'hocus pocus'

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Jaap Spies
Martin Rubey wrote: > Carlos Córdoba writes: > >> Anyway, the use of anonymous functions is mostly useful on constructs >> that operate over lists, like map and reduce. In 10 years of using >> Mathematica I've ever needed to derive this kind functions, but >> nevertheless I've checked if it's poss

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Martin Rubey
Carlos Córdoba writes: > Anyway, the use of anonymous functions is mostly useful on constructs > that operate over lists, like map and reduce. In 10 years of using > Mathematica I've ever needed to derive this kind functions, but > nevertheless I've checked if it's possible, and indeed it is, for

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Carlos Córdoba
2009/12/14 Robert Bradshaw > On Dec 14, 2009, at 12:15 PM, Dag Sverre Seljebotn wrote: > > > Robert Bradshaw wrote: > >> On Dec 14, 2009, at 11:43 AM, Carlos Córdoba wrote: > >> > >>> I have to agree with Marshall, because it could be confusing for new > >>> sage users that come from python to se

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Robert Bradshaw
On Dec 14, 2009, at 12:15 PM, Dag Sverre Seljebotn wrote: > Robert Bradshaw wrote: >> On Dec 14, 2009, at 11:43 AM, Carlos Córdoba wrote: >> >>> I have to agree with Marshall, because it could be confusing for new >>> sage users that come from python to see such a different syntax >>> meaning. >>>

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Dag Sverre Seljebotn
Robert Bradshaw wrote: > On Dec 14, 2009, at 11:43 AM, Carlos Córdoba wrote: > >> I have to agree with Marshall, because it could be confusing for new >> sage users that come from python to see such a different syntax >> meaning. >> >> But what about the Mathematica syntax? Could it be adopted

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Robert Bradshaw
On Dec 14, 2009, at 11:43 AM, Carlos Córdoba wrote: > I have to agree with Marshall, because it could be confusing for new > sage users that come from python to see such a different syntax > meaning. > > But what about the Mathematica syntax? Could it be adopted by sage? The Mathematica synta

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread John H Palmieri
On Dec 14, 11:43 am, Carlos Córdoba wrote: > I have to agree with Marshall, because it could be confusing for new sage > users that come from python to see such a different syntax meaning. > > But what about the Mathematica syntax? Could it be adopted by sage? > > The problem is that most CAS are

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Robert Bradshaw
On Dec 14, 2009, at 8:01 AM, Dag Sverre Seljebotn wrote: >> I don't know if it's a good idea to make this valid Sage syntax, >> though. >>I'm on the fence, but leaning towards not favoring it just because >> of the added complexity and the departure from true Python, and the >> python versio

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Carlos Córdoba
I have to agree with Marshall, because it could be confusing for new sage users that come from python to see such a different syntax meaning. But what about the Mathematica syntax? Could it be adopted by sage? The problem is that most CAS are functional in nature and the first thing one tries to

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Marshall Hampton
I felt ambivalent about adding the "->" until this point. If "->" is going to mean something else in python eventually, it seems like a bad idea to overload it in a Sage-specific way. -Marshall On Dec 14, 10:01 am, Dag Sverre Seljebotn wrote: > > Note that -> gets a meaning in Python 3, to ann

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Dag Sverre Seljebotn
Jason Grout wrote: > kcrisman wrote: > >> On Dec 14, 9:19 am, Carlos Córdoba wrote: >> >>> I don't think it would be so hard to do but this could break >>> interoperability with Python, the language on which Sage is based. Besides >>> it could make Sage like a dialect of python, something

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Jason Grout
kcrisman wrote: > > On Dec 14, 9:19 am, Carlos Córdoba wrote: >> I don't think it would be so hard to do but this could break >> interoperability with Python, the language on which Sage is based. Besides >> it could make Sage like a dialect of python, something that sage devs don't >> want to do.

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread kcrisman
Then that sounds like another Python syntax error we could make available. Not sure we'd want to, though. - kcrisman > > for those coming from Maple.  What does Mathematica do for such > > anonymous functions (if anything)? > > #^2+1 &  (note the & is important; it says what comes before is an >

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Jason Grout
kcrisman wrote: > > On Dec 14, 9:19 am, Carlos Córdoba wrote: >> I don't think it would be so hard to do but this could break >> interoperability with Python, the language on which Sage is based. Besides >> it could make Sage like a dialect of python, something that sage devs don't >> want to do.

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread kcrisman
On Dec 14, 9:19 am, Carlos Córdoba wrote: > I don't think it would be so hard to do but this could break > interoperability with Python, the language on which Sage is based. Besides > it could make Sage like a dialect of python, something that sage devs don't > want to do. > > Unfortunately pyth

[sage-support] Re: plot3d a dataset from text file?

2009-12-14 Thread Jason Grout
Daniel Farrell wrote: > Hi folks, > > Plot3d() look amazing! I really like the way lighting is used to > because it help understand the shape of the surface. > > I have a data file that I want to plot using plot3d, so I import the > data using numpy.loadtxt. plot3d() only plots functions so I try

Re: [sage-support] An abbreviation for lambda?

2009-12-14 Thread Carlos Córdoba
I don't think it would be so hard to do but this could break interoperability with Python, the language on which Sage is based. Besides it could make Sage like a dialect of python, something that sage devs don't want to do. Unfortunately python is not a very friendly functional programming languag

[sage-support] plot3d a dataset from text file?

2009-12-14 Thread Daniel Farrell
Hi folks, Plot3d() look amazing! I really like the way lighting is used to because it help understand the shape of the surface. I have a data file that I want to plot using plot3d, so I import the data using numpy.loadtxt. plot3d() only plots functions so I try to interpolate the dataset using sc