In some CAS's (Sage, Maxima), the "lambda" construct is used for an
anonymous function:
p=prime_range(30)
map(lambda x:x^2+1,p)
whereas in others, an arrow notation is used:
map(x->x^2+1,p) (Maple, MuPAD)
map(x+->x^2+1,p) (Axiom)
I'm very fond of the convenience of arrow notation. Would it be
Here are the details of my machine.
Model Identifier: MacBookPro4,1
Memory: 4 GB
System Version: Mac OS X 10.6.2 (10C540)
and I am using
VirtualBox Graphical User Interface Version 3.1.0 r55467
On Dec 13, 4:26 pm, William Stein wrote:
> 2009/12/13 jason.t.stein :
>
> > I am working with
2009/12/13 jason.t.stein :
> I am working with sage-virtualbox-4.2.1.p1.zip
I made that on OS X using the latest version of Virtualbox (version
3.1, I think).
It should work fine -- I don't know why it wouldn't. What version of
virtualbox are
you using? Which mac exactly are you running it on?
I am working with sage-virtualbox-4.2.1.p1.zip
On Dec 13, 12:40 pm, William Stein wrote:
> On Sun, Dec 13, 2009 at 5:45 AM, jason.t.stein
> wrote:
>
> > Is there any reason that the Virtual Box image shouldn't run using the
> > latest version of Virtual Box for Mac OS X?
>
> Is the virtualbox f
David, thanks for making me aware of this, I wasn't following the
thread.
It looks like two things are happening.
First, the multiplication of piecewise functions results in some of
the elements (the 0's) of the piecewise function becoming
Polynomial_rational_dense instances. It looks like integr
I'm cc'ing Paul Butler who wrote that method.
Paul, are you following this thread?
On Sun, Dec 13, 2009 at 3:32 PM, Eugene Goldberg wrote:
> So... There is no solution?
>
> On Dec 9, 6:03 pm, Sand Wraith wrote:
>> Does anyone know is this issue only for newest version? (may be I
>> should use
So... There is no solution?
On Dec 9, 6:03 pm, Sand Wraith wrote:
> Does anyone know is this issue only for newest version? (may be I
> should use older version of sage)
>
> On 8 дек, 21:47, David Joyner wrote:
>
> > Unfortunately, the piecewise class was written before the symbolic
> > expressi
On Sun, Dec 13, 2009 at 5:41 AM, jason.t.stein wrote:
> Jason
>
> To answer your questions:
> • I installed from the binaries.
> • I was trying to plot from the local notebook
> • The output isn't hidden.
> • I just tried a similar plot from the command line and received the
> following error:
>
On Sun, Dec 13, 2009 at 5:45 AM, jason.t.stein wrote:
>
> Is there any reason that the Virtual Box image shouldn't run using the
> latest version of Virtual Box for Mac OS X?
Is the virtualbox file that you downloaded named
sage-virtualbox-4.2.1.p1.zip or sage-virtualbox-4.2.1.zip
-- Wi
Thanks -- I will try that.
I'm finding, as I work through all of this, that some of the Python
add-on packages (while excellent) are not trivial to install.
T. Davis
On Dec 10, 7:17 pm, William Stein wrote:
> On Thu, Dec 10, 2009 at 4:10 PM, TDavis wrote:
> > Hi, this is a follow-up to my orig
Is there any reason that the Virtual Box image shouldn't run using the
latest version of Virtual Box for Mac OS X? When I try to import the
appliance, I keep getting the error:
"Cannot unregister the machine 'Sage 4.2.1' because it has 2 medium
attachments."
The same "machine" works just fine on Wi
Jason
To answer your questions:
• I installed from the binaries.
• I was trying to plot from the local notebook
• The output isn't hidden.
• I just tried a similar plot from the command line and received the
following error:
- /Applications/sage/local/bin/sage-sage: line 203: 815 Abort trap
sa
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_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$",(0,
On Dec 13, 1:54 am, Robert Bradshaw
wrote:
> On Dec 13, 2009, at 1:46 AM, Charles J. Daniels wrote:
>
> > I tried ctrl-c but no help.
>
> This should work. If it doesn't, it usually means we didn't wrap some
> c call with the appropriate signal handlers, so please let us know
> exactly what
hi,
I'm really surprised about the consideration for a remark like a
newbie like me.
Of course computational precision is important, the little game i was
showing leads to a soluion
around 0.1 for ra and rb.
So that brings us to part 2: convert to string; works for an isolated
number, but not
On Dec 13, 2009, at 1:46 AM, Charles J. Daniels wrote:
> I haven't gotten notebook running just yet, but I prefer command line
> anyway so far. The thing is, my computational eyes are larger than my
> processing ability's stomach, so I end up finding out it's going to
> take longer than I want to
I haven't gotten notebook running just yet, but I prefer command line
anyway so far. The thing is, my computational eyes are larger than my
processing ability's stomach, so I end up finding out it's going to
take longer than I want to complete a command. How do I stop it from
the command line? I tr
You could also use the LP solver in cvxopt.
http://www.sagemath.org/doc/numerical_sage/cvxopt.html
For your example problem:
sage: RealNumber=float
sage: Integer=int
sage: from cvxopt.base import matrix as m
sage: from cvxopt import solvers
sage: c = m([-1., -5.])
sage: G = m([[1., 1.5, -1., 0.]
18 matches
Mail list logo