Re: [sage-support] Re: using the system version of Python from the sage notebook?

2009-11-29 Thread Dima Pasechnik
William, Patch 11 of GAP 4.4 fixes a dozen of critical level bugs, ie bugs that potentially lead to wrong results! Eg getting wrong character tables, wrong results in range intersection... If a platform, like Itanium, was dropped, it is likely for a jolly good reason. IMHO distributing a clearly

Re: [sage-support] No wiki in compiled sage

2009-11-29 Thread William Stein
On Thu, Nov 26, 2009 at 5:27 AM, Surendran Karippadath wrote: > Hello, > > I am compiling sage ( 4.1.2 and 4.2.1 on 32bit Debian Stable gcc-4.3.2 > and 4.2.6)  I find the wiki()  function at the sage: prompt raises > error and no wiki -page appears. The result is the following-- Hi, I'm sorry th

Re: [sage-support] plot3d doesn't display.

2009-11-29 Thread William Stein
On Sun, Nov 29, 2009 at 4:43 PM, Christopher Olah wrote: >> Jmol comes with Sage, so Jmol is always installed.  However, you need >> Java to run Jmol. >> Sage doesn't fallback to anything if Jmol doesn't work (I wish Sage >> did fallback). > > That's interesting: I've had problems where it didn't

[sage-support] abs exp simplify bug

2009-11-29 Thread rych
var('y', domain='real') assume(y, 'real') abs(exp(y*I)).simplify() 1 abs(exp(1.1*y*I)).simplify() e^(1.1*I*y) The last result is incorrect. It seems simplify() doesn't like floating point? -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from th

Re: [sage-support] plot3d doesn't display.

2009-11-29 Thread Christopher Olah
> Jmol comes with Sage, so Jmol is always installed.  However, you need > Java to run Jmol. > Sage doesn't fallback to anything if Jmol doesn't work (I wish Sage > did fallback). That's interesting: I've had problems where it didn't work and I had to install Jmol myself. Is this a recent change?

Re: [sage-support] plot3d doesn't display.

2009-11-29 Thread William Stein
On Sun, Nov 29, 2009 at 11:50 AM, Christopher Olah wrote: > Installing Jmol may help. It's used to show the 3d stuff in a > rotatable manner. That said, I think it should be using tachyon if > Jmol isn't installed. Jmol comes with Sage, so Jmol is always installed. However, you need Java to run

Re: [sage-support] using the system version of Python from the sage notebook?

2009-11-29 Thread William Stein
On Sun, Nov 29, 2009 at 8:40 AM, tmbdev wrote: > Sage supports all sorts of "external" tools, like R and Octave. > > I would like to be able to use the installed version of Python with > the Sage notebook interface (in place of its built-in one).  The > reason is that we have a lot of local packag

Re: [sage-support] Re: using the system version of Python from the sage notebook?

2009-11-29 Thread William Stein
On Sun, Nov 29, 2009 at 9:38 AM, dimpase wrote: > Another similar question involves using the local version of GAP > in place of the supplied one. > Apart from the fact that Sage is distributed with an old and (a bit) > broken version of GAP, > (well, I know that I can install a newer version by d

[sage-support] Re: How to import Python modules into Sage?

2009-11-29 Thread tmbdev
You can also set the path inside the notebook itself by appending to sys.path. Tom -- 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.g

[sage-support] Re: plot3d displays NOW !

2009-11-29 Thread tmbdev
> So Sage contains the other computer algebra systems, but calls other > programs for graphic display. The graphic display is through an applet in your browser; for that to display, your browser needs to be capable of displaying applets, and for that you need to install Java. Sage can't do that f

Re: [sage-support] plot3d displays NOW !

2009-11-29 Thread Francois Maltey
This is the right reason : > ...with Ubuntu, the right package is > > apt-get install icedtea6-plugin > It's perfect. So Sage contains the other computer algebra systems, but calls other programs for graphic display. -- To post to this group, send email to sage-support@googlegroups.com To u

[sage-support] Re: using the system version of Python from the sage notebook?

2009-11-29 Thread tmbdev
If you could use the system Python, that would fix that problem too, wouldn't it? Tom On Nov 29, 6:38 pm, dimpase wrote: > Another similar question involves using the local version of GAP > in place of the supplied one. > Apart from the fact that Sage is distributed with an old and (a bit) > bro

Re: [sage-support] plot3d doesn't display.

2009-11-29 Thread Laurent
Christopher Olah ha scritto: > Installing Jmol may help. It's used to show the 3d stuff in a > rotatable manner. That said, I think it should be using tachyon if > Jmol isn't installed. > As far as I remember, with Ubuntu, the right package is apt-get install icedtea6-plugin At least, on my comp

[sage-support] Re: How to import Python modules into Sage?

2009-11-29 Thread ggrafendorfer
Hello Alex, regarding this topic, look at these two threads: http://groups.google.com/group/sage-support/browse_thread/thread/93973810618b2aa3/49fe80a730cf9137 http://groups.google.com/group/sage-support/browse_thread/thread/e3d6d735c7cc1507/401d424df1e6f5e9 Georg -- To post to this group,

Re: [sage-support] SIGSEGV ERROR

2009-11-29 Thread Burcin Erocal
Hi Roland, On Sun, 29 Nov 2009 11:46:00 -0800 (PST) Rolandb wrote: > > Unhandled SIGSEGV: A segmentation fault occured in SAGE. > This probably occured because a *compiled* component > of SAGE has a bug in it (typically accessing inval

Re: [sage-support] plot3d doesn't display.

2009-11-29 Thread Christopher Olah
Installing Jmol may help. It's used to show the 3d stuff in a rotatable manner. That said, I think it should be using tachyon if Jmol isn't installed. On Sun, Nov 29, 2009 at 1:39 PM, Francois Maltey wrote: > Hello, > > I try to use the 3d plot but I can't. > > The first command is perfect. >

[sage-support] Re: ode_solver issues

2009-11-29 Thread ma...@mendelu.cz
On 29 lis, 02:47, Marshall Hampton wrote: > I think that's probably a bug.  As far as I know, the ode_solver code > hasn't been used all that much.  When I have personally wanted to > numerically solve ODEs I have just written my own Runge-Kutta 4th > order solvers in Cython.  If no one else chi

[sage-support] SIGSEGV ERROR

2009-11-29 Thread Rolandb
Hi, Unhandled SIGSEGV: A segmentation fault occured in SAGE. This probably occured because a *compiled* component of SAGE has a bug in it (typically accessing invalid memory) or is not properly wrapped with _sig_on, _sig_off. You might w

[sage-support] Re: How to import Python modules into Sage?

2009-11-29 Thread Le Fou Volant
On Nov 28, 3:00 pm, David Joyner wrote: > On Sat, Nov 28, 2009 at 5:43 PM, Le Fou Volant > wrote: > > > Hello, > > > How can I import Python modules into Sage? Into the notebook would be > > best. > > I think you do it in the usual way that you would for ordinary Python. I don't think it can w

[sage-support] plot3d doesn't display.

2009-11-29 Thread Francois Maltey
Hello, I try to use the 3d plot but I can't. The first command is perfect. The second opens no new display and I can continue other calculus after. I use a sage 4.2 version in a emacs windows in gnome box. The distribution is an ubuntu. show( line([(1,2), (1,0), (3,1), (2,1)], color='red')) sh

[sage-support] Re: using the system version of Python from the sage notebook?

2009-11-29 Thread dimpase
Another similar question involves using the local version of GAP in place of the supplied one. Apart from the fact that Sage is distributed with an old and (a bit) broken version of GAP, (well, I know that I can install a newer version by downloading the corresponding update) having two copies of G

[sage-support] using the system version of Python from the sage notebook?

2009-11-29 Thread tmbdev
Sage supports all sorts of "external" tools, like R and Octave. I would like to be able to use the installed version of Python with the Sage notebook interface (in place of its built-in one). The reason is that we have a lot of local packages installed that we can't reinstall within Sage. So, wh

Re: [sage-support] regex in sage

2009-11-29 Thread Yotam Avital
Great, thanks On Sun, Nov 29, 2009 at 6:12 PM, Minh Nguyen wrote: > Hi Yotam, > > On Mon, Nov 30, 2009 at 3:03 AM, Yotam Avital wrote: > > Hi. > > > > I'm considering using sage as the main tool for my Ph.D research that > will > > start soon. My research will involve some analysis of proteins

Re: [sage-support] regex in sage

2009-11-29 Thread Minh Nguyen
Hi Yotam, On Mon, Nov 30, 2009 at 3:03 AM, Yotam Avital wrote: > Hi. > > I'm considering using sage as the main tool for my Ph.D research that will > start soon. My research will involve some analysis of proteins and DNA data > (such as sequence). Is there a tool in sage for text analysis? mostly

[sage-support] Re: regex in sage

2009-11-29 Thread Marshall Hampton
There is the re module, which I think is not usually loaded in sage: http://docs.python.org/library/re.html Also, if you are doing sequence analysis you definitely want to install the optional biopython package if you haven't already. Cheers, Marshall Hampton On Nov 29, 10:03 am, Yotam Avital

[sage-support] regex in sage

2009-11-29 Thread Yotam Avital
Hi. I'm considering using sage as the main tool for my Ph.D research that will start soon. My research will involve some analysis of proteins and DNA data (such as sequence). Is there a tool in sage for text analysis? mostly regular expressions. I assume there is a tool built it in python. Thank

Re: [sage-support] Re: functions in sage

2009-11-29 Thread Yotam Avital
Thanks. I think I got it. On Sun, Nov 29, 2009 at 12:48 PM, Harald Schilly wrote: > On Nov 29, 10:50 am, Yotam Avital wrote: > > > > 1. def f(x): return x^2 > > That's a pure Python function, it's in some way "universal" but you > cannot derivate it. > > sage: type(f) > > > > > > 2. f(x) = x^2

[sage-support] Re: functions in sage

2009-11-29 Thread Harald Schilly
On Nov 29, 10:50 am, Yotam Avital wrote: > > 1. def f(x): return x^2 That's a pure Python function, it's in some way "universal" but you cannot derivate it. sage: type(f) > > 2. f(x) = x^2 That's preparsed and actually this: sage: preparse('f(x) = x^2') '__tmp__=var("x"); f = symbolic_express

[sage-support] functions in sage

2009-11-29 Thread Yotam Avital
Hi. What is the difference between the following 3 ways: 1. def f(x): return x^2 2. f(x) = x^2 3. x = var('x') f(x) = x^2 thanks. -- 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

Re: [sage-support] Factoring multivariate polynomials with parameters

2009-11-29 Thread William Stein
On Sat, Nov 28, 2009 at 3:55 PM, Stefan Boettner wrote: > William, > > I can factor polynomials with coefficients in QQ fine. Here are the > examples I mentioned in greater detail: > > # define the coefficient field K and R=K[x,y] > K.=PolynomialRing(QQ,1) > K=FractionField(K) > R.=PolynomialRing(

Re: [sage-support] ode_solver issues

2009-11-29 Thread Anthony David
On Sun, Nov 29, 2009 at 7:11 AM, ryan_n wrote: > Hello all, > > I've just started using Sage, and I'm currently trying to use the > ode_solver class to solve some simple differential equations. I was > having some problems setting up my own program based on this class > until I realized that the