Re: [sage-support] Re: Syntax error attempting to load a python file

2012-01-20 Thread Jim Clark
On Jan 20, 2012, at 5:05 PM, Nils Bruin wrote: > On Jan 20, 4:30 pm, Jim Clark wrote: >> Could anyone shed light on what is happening here? >> >> In a sage notebook cell I wish to load a python file; I wrote the command: >> >> load("/Users/jim/Documents/Fluid_Mechanics/AA543_HW2/physical_consta

[sage-support] Can't make 404.html template to be used. Keep getting Apache 500 Internal Server Error instead.

2012-01-20 Thread Chris Seberino
I am proxying my Django app behind Apache. I created a 404.html in my template directory but when I try to test it I get the following error that appears to come from Apache... Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your requ

Re: [sage-support] Fwd: sagemath question re: implicit differentiation

2012-01-20 Thread Michael Orlitzky
-- Forwarded message -- From: storne...@mathisasport.com That's fine, but now I want to solve for dy/dx, so I try: sage: solve(equation2.diff(),diff(f(x),x,1)) /home/stornetta/sage-4.7.2/local/lib/python2.6/site-packages/IPython/iplib.py:2260: DeprecationWarning: Substitution usi

[sage-support] Fwd: sagemath question re: implicit differentiation

2012-01-20 Thread David Joyner
Forwarded to sage-support. -- Forwarded message -- From: storne...@mathisasport.com Date: Fri, Jan 20, 2012 at 9:52 PM Subject: sagemath question re: implicit differentiation To: wdjoy...@gmail.com I apologize in advance if this is the wrong way to reach you, but at the bottom

Re: [sage-support] Re: Problem with sagetex with a large file (many sage calculations)

2012-01-20 Thread Dan Drake
On Fri, 20 Jan 2012 at 10:51AM -0800, Steven McKay wrote: > That's the problem. It only seems to happen when I run desolve_odeint > several times. The later runs seem to choke. Note that sage does > *not* choke on any later sage calculations other than desolve. > So, I don't really have a minima

Re: [sage-support] Order of a cyclic group

2012-01-20 Thread Maarten Derickx
Well the way I first tried is as follows: age: F.=GF(2)[] sage: G.=F.quotient(x^6 + x^4 + x^2 + x + 1) sage: a.multiplicative_order() --- NotImplementedError Traceback (most recent call last) But it giv

[sage-support] Re: Syntax error attempting to load a python file

2012-01-20 Thread Nils Bruin
On Jan 20, 4:30 pm, Jim Clark wrote: > Could anyone shed light on what is happening here? > > In a sage notebook cell I wish to load a python file; I wrote the command: > > load("/Users/jim/Documents/Fluid_Mechanics/AA543_HW2/physical_constants.py") > > which produces: > > SyntaxError: Non-ASCII c

[sage-support] Syntax error attempting to load a python file

2012-01-20 Thread Jim Clark
Could anyone shed light on what is happening here? In a sage notebook cell I wish to load a python file; I wrote the command: load("/Users/jim/Documents/Fluid_Mechanics/AA543_HW2/physical_constants.py") which produces: SyntaxError: Non-ASCII character '\xce' in file /Users/jim/Documents/Fluid_M

Re: [sage-support] Re: Setting default graph display

2012-01-20 Thread William Stein
On Fri, Jan 20, 2012 at 10:15 AM, Volker Braun wrote: > xdg-open is called to display images, as per the fdo specs. Refer to your > distribution for how to configure defaults on your system. > Also, if you set the environment variable "SAGE_BROWSER", then that program will be used instead of xdg-

[sage-support] Re: Problem with sagetex with a large file (many sage calculations)

2012-01-20 Thread Steven McKay
Well, That's the problem. It only seems to happen when I run desolve_odeint several times. The later runs seem to choke. Note that sage does *not* choke on any later sage calculations other than desolve. So, I don't really have a minimal example. I will try to see if I can come up with one, but

[sage-support] Re: Setting default graph display

2012-01-20 Thread Volker Braun
xdg-open is called to display images, as per the fdo specs. Refer to your distribution for how to configure defaults on your system. -- 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

[sage-support] Setting default graph display

2012-01-20 Thread tvn
Hi, is there a way to change the application that displays 2d or 3d images on Linux ? when I plot something in 2D I want a certain app to open the image. I believe Jmol is the default for 3D which works fine on my machine, but I want to change my app handling 2d to something else. Thanks,

Re: [sage-support] max plus polyhedra and tropical algebra

2012-01-20 Thread tvn
By max-plus polyhedra, I am referring to something as described in this paper http://www.cmap.polytechnique.fr/~allamigeon/papers/AllamigeonGaubertGoubaultSAS08.pdf . Probably it's a new concept and definition ? Basically, I am looking for some method which takes as input some points (say

Re: [sage-support] Period of a sequence

2012-01-20 Thread Santanu Sarkar
Thank you very much. On 20 January 2012 20:57, David Joyner wrote: > On Fri, Jan 20, 2012 at 9:56 AM, Santanu Sarkar > wrote: >> I have a sequence of 0 and 1. I know that period is small. Is there >> any function in Sage by which >> I can find the period? Or, can we find the period efficiently?

Re: [sage-support] Period of a sequence

2012-01-20 Thread David Joyner
On Fri, Jan 20, 2012 at 9:56 AM, Santanu Sarkar wrote: > I have a sequence of 0 and 1. I know that period is small. Is there > any function in Sage by which > I can find the period? Or, can we find the period efficiently? > For example {0,1,0,1,0,1} has period of length 2. Try http://www.sagemath

[sage-support] Period of a sequence

2012-01-20 Thread Santanu Sarkar
I have a sequence of 0 and 1. I know that period is small. Is there any function in Sage by which I can find the period? Or, can we find the period efficiently? For example {0,1,0,1,0,1} has period of length 2. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe f

Re: [sage-support] Order of a cyclic group

2012-01-20 Thread Santanu Sarkar
Yes, exactly that we mean. On 19 January 2012 20:13, John Cremona wrote: > On 19 January 2012 15:39, Santanu Sarkar wrote: >> Consider a polynomial f(x) over GF(2)[x]. How is it possible >> to find the order of the cyclic group generated by f(x)? > > What do you mean by the group generated by th