[sage-support] Re: Importing lists from mathematica

2009-01-06 Thread thelamecamel
Thanks all for speedy help! On Jan 7, 4:25 pm, Jason Grout wrote: > These are not the right way to do this, but they seem to give results > for right now, at least until someone fixes this: > > sage: a=mathematica([1,2,3]) > sage: [a[i] for i in range(1,a.Length()+1)] > [1, 2, 3] > > Or > > sage

[sage-support] Re: Importing lists from mathematica

2009-01-06 Thread Jason Grout
thelamecamel wrote: > Hi, > > I have inherited a numerical simulation program a few thousand lines > long, written in Mathematica (and fortran via mathlink) into Sage. I > am fed up with Mathematica as a programming language and would like to > replace this with python code, to be run in sage.

[sage-support] Re: Importing lists from mathematica

2009-01-06 Thread mabshoff
On Jan 6, 7:46 pm, Robert Bradshaw wrote: > On Jan 6, 2009, at 7:17 PM, thelamecamel wrote: > > > Hi, > > > I have inherited a numerical simulation program a few thousand lines > > long, written in Mathematica (and fortran via mathlink) into Sage.  I > > am fed up with Mathematica as a programm

[sage-support] Re: Importing lists from mathematica

2009-01-06 Thread Robert Bradshaw
On Jan 6, 2009, at 7:17 PM, thelamecamel wrote: > Hi, > > I have inherited a numerical simulation program a few thousand lines > long, written in Mathematica (and fortran via mathlink) into Sage. I > am fed up with Mathematica as a programming language and would like to > replace this with pytho

[sage-support] Importing lists from mathematica

2009-01-06 Thread thelamecamel
Hi, I have inherited a numerical simulation program a few thousand lines long, written in Mathematica (and fortran via mathlink) into Sage. I am fed up with Mathematica as a programming language and would like to replace this with python code, to be run in sage. As an intermediate stage I was h

[sage-support] Re: Plot points wich solve an equitation

2009-01-06 Thread David Joyner
I don't think implicit_plot3d is implemented yet, if that is your question. An alternative is to solve for z and use parametric_plot3d. Type parametric_plot3d? in sage for examples of how the syntax works. On Tue, Jan 6, 2009 at 7:53 PM, Fencer wrote: > > Hi there, > > Is it possible to plot p

[sage-support] Plot points wich solve an equitation

2009-01-06 Thread Fencer
Hi there, Is it possible to plot points wich solve an certain equation (for example x^2+y^2+z^2=1). At the moment my idea is to give him f(x)=x for the x axis g(y)=y for the y-axis and for the z axis I will give him 1 when x,y,z solves the equitation. My problem is that I don't know how to get th

[sage-support] Re: illegal instruction error warnings

2009-01-06 Thread mabshoff
On Jan 6, 12:03 pm, gellmu wrote: Hi, > The following warning appears when sage (Version 3.2, Release Date: > 2008-11-20), a binary build distributed as "sage-3.2-ubuntu32bit-intel- > i686-Linux.tar.gz" from modular.fas.harvard, is opened in Ubuntu 8.04. > > I guess this is because my CPU is

[sage-support] illegal instruction error warnings

2009-01-06 Thread gellmu
The following warning appears when sage (Version 3.2, Release Date: 2008-11-20), a binary build distributed as "sage-3.2-ubuntu32bit-intel- i686-Linux.tar.gz" from modular.fas.harvard, is opened in Ubuntu 8.04. I guess this is because my CPU is AMD Sempron(tm) Processor LE-1300. *

[sage-support] Re: Can Sage solve inequalities?

2009-01-06 Thread Slava
Thank you for your quick answers. I want to solve, for example, such inequalities: 5^(2*x + 1) > 5^x + 4 log(x^2 - 5*x + 7, 3) > 1 and (x^3 - 6) / (x - 1) < 1. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe