[sage-support] Re: jmol won't display

2012-02-06 Thread Jason Grout
On 2/6/12 10:06 PM, David wrote: No line number. If I click on the url in the error I get the source, but it just leaves me at the top. Here's the error: http://skink.whitman.edu/sage_error.png Hmmm. Double Hmmm... Here's a possible cause: http://stackoverflow.com/questions/227552/common-

[sage-support] Re: jmol won't display

2012-02-06 Thread David
More information: I get a black square where the jmol figure should be, and the jmol menus are active. -- David -- 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 t

[sage-support] Re: jmol won't display

2012-02-06 Thread David
No line number. If I click on the url in the error I get the source, but it just leaves me at the top. Here's the error: http://skink.whitman.edu/sage_error.png -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsub

[sage-support] Re: jmol won't display

2012-02-06 Thread Jason Grout
On 2/6/12 9:38 PM, David wrote: I just tried test.sagenb.org on a 10.04 machine at home, same problem. All machines are sun java, I think the latest version of java 1.6. I have also tried turning off all firefox extensions, no help. HmmmYou said you had an error message. Usually console er

[sage-support] Re: jmol won't display

2012-02-06 Thread David
I just tried test.sagenb.org on a 10.04 machine at home, same problem. All machines are sun java, I think the latest version of java 1.6. I have also tried turning off all firefox extensions, no help. -- David -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe f

[sage-support] Re: jmol won't display

2012-02-06 Thread Jason Grout
On 2/6/12 8:56 PM, David wrote: It happens on sagenb.org 4.7.2 and on our internal 4.6 sage server. I'll check the test server when I go to work tomorrow. Do you have the Sun Java installed, or the Iced Tea thing? IIRC, you need to install the sun jdk; the iced tea version won't work. I know

[sage-support] Re: jmol won't display

2012-02-06 Thread David
It happens on sagenb.org 4.7.2 and on our internal 4.6 sage server. I'll check the test server when I go to work tomorrow. -- David -- 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 m

[sage-support] Re: jmol won't display

2012-02-06 Thread Jason Grout
On 2/6/12 6:08 PM, David wrote: Hi all-- This has been driving me nuts. In firefox on two computers running ubuntu 10.04, jmol plots do not appear, and I get this in the javascript error console: unterminated string literal window.top.status='script compiler ERROR: command expected Using chrom

[sage-support] Re: Changing the latex representation of the output of derivative.

2012-02-06 Thread kcrisman
On Feb 6, 4:22 pm, Oscar Lazo wrote: > That worked excelent! I made the following code: > > from sage.symbolic.function import BuiltinFunction > class AiryAi(BuiltinFunction): >     def __init__(self): >         BuiltinFunction.__init__(self, "ai", > latex_name=r"\operatorname{Ai}") >     def _d

[sage-support] f2py throws strange error

2012-02-06 Thread Oscar Lazo
Hello I've got this code in fortran: !f90 !f90 ! ALGORITHM 819, COLLECTED ALGORITHMS FROM ACM. ! THIS WORK PUBLISHED IN TRANSACTIONS ON MATHEMATICAL SOFTWARE, ! VOL. 28,NO. 3, September, 2002, P. 325--336. ! Code converted using TO_F90 by Alan Miller ! Date: 2002-11-04 Time: 15:13:16 MODULE

[sage-support] jmol won't display

2012-02-06 Thread David
Hi all-- This has been driving me nuts. In firefox on two computers running ubuntu 10.04, jmol plots do not appear, and I get this in the javascript error console: unterminated string literal window.top.status='script compiler ERROR: command expected Using chrome on the same machines, or the sam

Re: [sage-support] functions

2012-02-06 Thread Robert Bradshaw
On Mon, Feb 6, 2012 at 3:12 PM, Chappman wrote: > Hi, I am currently trying to write a program for my project and am > trying to make the following syntax work: > > > if y_1=y_2: >     [y_1,y_2]=2 > elif y_1>y_2: >     [y_1,y_2]=1 I think you want is > if y_1 = y_2: > y_1 = y_2 = 2 > elif y_

[sage-support] functions

2012-02-06 Thread Chappman
Hi, I am currently trying to write a program for my project and am trying to make the following syntax work: if y_1=y_2: [y_1,y_2]=2 elif y_1>y_2: [y_1,y_2]=1 x=0 for y_1 in [1..2]: for y_2 in [1..y_1]: x += [y_1,y_2] print x The error messages I am getting is " TypeEr

Re: [sage-support] Re: Evaluate quickly a complex expression

2012-02-06 Thread Robert Bradshaw
On Mon, Feb 6, 2012 at 1:01 PM, Jason Grout wrote: > On 2/6/12 1:33 PM, Oscar Lazo wrote: >> >> That is very nice! Unfortunately I need to evaluate many different >> expressions quickly, so the copy-paste aproach is not an option. >> That's why I wrote the fast_complex function. I'll be working in

[sage-support] Re: Changing the latex representation of the output of derivative.

2012-02-06 Thread Oscar Lazo
That worked excelent! I made the following code: from sage.symbolic.function import BuiltinFunction class AiryAi(BuiltinFunction): def __init__(self): BuiltinFunction.__init__(self, "ai", latex_name=r"\operatorname{Ai}") def _derivative_(self, x, diff_param=None): return aip(x) cl

[sage-support] Re: Evaluate quickly a complex expression

2012-02-06 Thread Jason Grout
On 2/6/12 1:33 PM, Oscar Lazo wrote: That is very nice! Unfortunately I need to evaluate many different expressions quickly, so the copy-paste aproach is not an option. That's why I wrote the fast_complex function. I'll be working in such a general implementation, do you think it's worth getting

[sage-support] Re: Programming animation

2012-02-06 Thread kcrisman
On Feb 6, 2:58 pm, Socius wrote: > On 6 Feb, 18:57, LFS wrote: > > > I have to admit that I use GeoGebra for almost everything not 3d. It > > is absolutely fantastic (I do videos on the youtube.com/ > > geogebrachannel and have a wiki and a moodle on ggb.) > > > But sage is great (and I have st

[sage-support] Re: Changing the latex representation of the output of derivative.

2012-02-06 Thread kcrisman
> I can live with that, but I also need to be able to visualize in > typesetted form some complicated expressions involving the derivatives > of Airy functions, so I would very much prefer if diff(ai) would be > typesetted the same way as > > aip=function('aip',x,latex_name='Ai\'') Airy functions

[sage-support] Re: Programming animation

2012-02-06 Thread Socius
On 6 Feb, 18:57, LFS wrote: > I have to admit that I use GeoGebra for almost everything not 3d. It > is absolutely fantastic (I do videos on the youtube.com/ > geogebrachannel and have a wiki and a moodle on ggb.) > > But sage is great (and I have started a youtube.com/sagemath  channel > and a sa

[sage-support] Changing the latex representation of the output of derivative.

2012-02-06 Thread Oscar Lazo
Hello I'm working with Airy functions. Although sage can evaluate airy_ai(1.0), it cannot form a symbolic expression like: A*airy_ai(x)+B*airy_bi, which is what i need. So I decided to define the symbolic functions: ai=function('ai',x,latex_name='Ai') bi=function('bi',x,latex_name='Bi') thi

[sage-support] Re: Programming animation

2012-02-06 Thread Nils Bruin
On Feb 5, 8:20 am, LFS wrote: > Hiya! > > Is there a relatively simple way to get a point to animate a point > through a cycle keeping in mind my low programming skills ((like > adding a "wait" between iterations?) ? You are probably aware of the "animate" command that does this for 2d graphics.

[sage-support] Re: Evaluate quickly a complex expression

2012-02-06 Thread Oscar Lazo
That is very nice! Unfortunately I need to evaluate many different expressions quickly, so the copy-paste aproach is not an option. That's why I wrote the fast_complex function. I'll be working in such a general implementation, do you think it's worth getting it into sage, or should fast_float be m

[sage-support] Re: Programming animation

2012-02-06 Thread LFS
Thanks A. That is good to hear about the sage slider! I have to admit that I use GeoGebra for almost everything not 3d. It is absolutely fantastic (I do videos on the youtube.com/ geogebrachannel and have a wiki and a moodle on ggb.) But sage is great (and I have started a youtube.com/sagemat

[sage-support] Re: reference pages

2012-02-06 Thread William Stein
On Mon, Feb 6, 2012 at 9:41 AM, Kenneth A. Ribet wrote: > Hi All, > > This message is about the Sage Reference pages.  I'm looking specifically at > http://www.sagemath.org/doc/reference/sage/rings/finite_rings/constructor.html > .  My comment, which is more of a recommendation, is that it would

[sage-support] Re: Programming animation

2012-02-06 Thread Socius
On 5 Feb, 17:20, LFS wrote: > Hiya! > > Is there a relatively simple way to get a point to animate a point > through a cycle keeping in mind my low programming skills ((like > adding a "wait" between iterations?) ? > > I made this video with stop animation and an animated gif but it was a > real p