[sage-support] sage mesh doesn't work in ipynb

2016-05-04 Thread HG
Hi, Is there a way to get a nice rainbow mesh on sagemath jupyter notebook ? Mesh doesn't work on jnb, the following works on sagenb but not in jnb Best regards, Henri x, y = var('x y') plot3d(sin(pi*(x^2+y^2))/sqrt(x^2+y^2), (x,-1.5,1.5),(y,-1.5,1.5), mesh=True,color='yellow') --

[sage-support] Re: weirdness in cell server or just user error?

2016-05-04 Thread Volker Braun
For now use graphics_array instead of table as you said. I opened http://trac.sagemath.org/ticket/20560 On Wednesday, May 4, 2016 at 8:51:23 PM UTC+2, kcrisman wrote: > > Consider the following. > > @interact > def _(u_percent=slider(0,1,0.05,label="u", > default=.7)): > > pretty_print(ta

[sage-support] Re: Once sage worked, but now it does not work by doing the same thing.

2016-05-04 Thread ana236
I am sure that at first I used the path /Users/student/SageMath, because I did $cd ~/SageMath $./sage Then it worked before but not anymore. When I changed the directly using $cd ~/SageMath, I end up at /Users/student/SageMath. Also, if I tried to find all directories named SageMath, I get onl

[sage-support] weirdness in cell server or just user error?

2016-05-04 Thread kcrisman
Consider the following. @interact def _(u_percent=slider(0,1,0.05,label="u", default=.7)): pretty_print(table([[plot(x^u_percent,x,0,1),plot(x^u_percent-1,x,0,1)]])) First, there is some kind of regression with the label, where it no longer accepts styling - I don't know if that is known,

[sage-support] Word problem in finite permutation groups as monoids

2016-05-04 Thread Christian Stump
The method "word_problem" for a permutation group element can be found at http://doc.sagemath.org/html/en/reference/groups/sage/groups/perm_gps/permgroup_element.html#sage.groups.perm_gps.permgroup_element.PermutationGroupElement.word_problem But if the permutation group G is finite, I wonde

[sage-support] Re: Mysterious behaviour of q_eigenform... Bug?

2016-05-04 Thread Misja
Note: this issue was resolved by David Loeffler in the sage-nt group. See https://groups.google.com/forum/#!topic/sage-nt/NM7bbCgefdo On Tuesday, 3 May 2016 17:03:16 UTC+1, Kevin Buzzard wrote: > > OK how about this for a minimal example of unexpected (to me) behaviour. I > get problems with sag

[sage-support] Re: Speed comparison to Mathematica

2016-05-04 Thread Simon King
PS: Here is an example: On 2016-05-03, Simon King wrote: > For Cython code in Sage, there is a %crun available that gives you some > statistics on C-functions called during a computation. It needs > gperftools being installed. sage: M = random_matrix(GF(4,'x'), 1,1) sage: %crun N=M*M PR