[sage-support] Re: Using scipy special functions

2011-04-11 Thread achrzesz
sage: reset() sage: import mpmath sage: plot(lambda x: mpmath.legenp(2,0,x),(x,-1,1)) On 11 Kwi, 00:34, achrzesz achrz...@wp.pl wrote: Workaround: list_plot([(x,legenp(2,0,x)) for x in srange(-1,1,0.1)],plotjoined=True) On 10 Kwi, 23:47, ObsessiveMathsFreak obsessivemathsfr...@gmail.com

[sage-support] sage not showing any output

2011-04-11 Thread trust god
hi,i am very thankful for entire team for developing such useful software,but it worked very fine some time, but let me tell my config first : windows-xp:32-bit intel core-duo processor, 3gb ram i have installed vmware and everything was fine, when i start vmware it boots ubuntu as it is known,

[sage-support] Re: Unable to Solve Simple Problem

2011-04-11 Thread ancienthart
Now THAT seriously needs to be made clearer in the documentation, including some examples. Also, how to use use_grobner because use_grobner=True don't work. Joal Heagney -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: Unable to Solve Simple Problem

2011-04-11 Thread achrzesz
I'm not sure but: sage: solve(x==sqrt(x+1),x,to_poly_solve='use_grobner=True') [x == 1/2*sqrt(5) + 1/2] On 11 Kwi, 12:24, ancienthart joalheag...@gmail.com wrote: Now THAT seriously needs to be made clearer in the documentation, including some examples. Also, how to use use_grobner because

[sage-support] Curved Edges in Graphs

2011-04-11 Thread ObsessiveMathsFreak
I'm using the graph theory modules and I have a need to draw curved edges in certain graphs. For example, to draw the complete graph K_4 as a planar graph, it's sometimes useful to draw a curved edge looping around the main figure than to redraw the whole figure as a triangular graph. Currently,

[sage-support] Re: Unable to Solve Simple Problem

2011-04-11 Thread achrzesz
to_poly_solve([(x-5)^2+y^2-16, (y-3)^2+x^2-9], [x,y], use_grobner=true); works in wxmaxima 0.8.7 but does not in maxima_console() On 11 Kwi, 13:06, achrzesz achrz...@wp.pl wrote: I'm not sure but: sage: solve(x==sqrt(x+1),x,to_poly_solve='use_grobner=True') [x == 1/2*sqrt(5) + 1/2] On 11

[sage-support] Re: Unable to Solve Simple Problem

2011-04-11 Thread achrzesz
sage: solve([(x-5)^2+y^2-16, (y-3)^2+x^2-9], [x,y],to_poly_solve='use_grobner=True') [[x == -9/68*sqrt(55) + 135/68, y == -15/68*sqrt(5)*sqrt(11) + 123/68], [x == 9/68*sqrt(55) + 135/68, y == 15/68*sqrt(5)*sqrt(11) + 123/68]] On 11 Kwi, 13:29, achrzesz achrz...@wp.pl wrote:

[sage-support] Re: Unable to Solve Simple Problem

2011-04-11 Thread achrzesz
Oops! without to_poly_solve='use_grobner=True' also works On 11 Kwi, 13:37, achrzesz achrz...@wp.pl wrote: sage: solve([(x-5)^2+y^2-16, (y-3)^2+x^2-9], [x,y],to_poly_solve='use_grobner=True') [[x == -9/68*sqrt(55) + 135/68, y == -15/68*sqrt(5)*sqrt(11) + 123/68], [x == 9/68*sqrt(55) + 135/68,

[sage-support] Re: Unable to Solve Simple Problem

2011-04-11 Thread achrzesz
So it seems that in Sage use_grobner is not as essential as in Maxima sage: maxima('load(to_poly_solver)') sage: maxima('to_poly_solve([(x-5)^2+y^2-16, (y-3)^2+x^2-9], [x,y])') %union() sage: maxima('to_poly_solve([(x-5)^2+y^2-16, (y-3)^2+x^2-9], [x,y],use_grobner=true)')

[sage-support] Missing file in scipy installation?

2011-04-11 Thread Michel
I was trying some functions to do root locus plots found on the net. Doing this I found out that there seems to be something incomplete about the scipy installation in sage. from scipy.io.array_import import read_array ---

Re: [sage-support] memory error

2011-04-11 Thread Volker Braun
Most likely you don't have enough ram to store 101^5 temporary values. -- 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

[sage-support] Re: Using scipy special functions

2011-04-11 Thread kcrisman
Or simply legendre_P, legendre_Q Unfortunately, these functions do not support non integer values of n, i.e. they don't support generalised legendre functions, which is what I need. Are gen_legendre_P and gen_legendre_Q okay? These are all used from Maxima, as I recall. - kcrisman --

[sage-support] Re: Graphics Array and latex legends

2011-04-11 Thread kcrisman
On Apr 8, 5:10 pm, achrzesz achrz...@wp.pl wrote: This works for me: p1=plot(x^2, (x, -pi, pi),label=f) G=graphics_array(((p1,p1),(p1,p1))) G.show(figsize=[8,8]) Of course, that's not quite the same thing as a legend. Looks decent, though. - kcrisman -- To post to this group, send