[sage-support] Re: Drawing Konigsberg graph

2008-08-23 Thread Philippe Saade
On Fri, Aug 22, 2008 at 8:06 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > Philippe Saade wrote: >> On Fri, Aug 22, 2008 at 12:11 AM, Philippe Saade <[EMAIL PROTECTED]> wrote: >>> Hi all ! >>> >>> Is there a simple way to plot a graph with more than 1 edge going from >>> a given vertice to anothe

[sage-support] Re: Drawing Konigsberg graph

2008-08-23 Thread Philippe Saade
On Sat, Aug 23, 2008 at 9:39 AM, Philippe Saade <[EMAIL PROTECTED]> wrote: > > Thanks for pointing saunders' code to me ! > I had to change a line of code to make it work with Sage 3.1.1 : > > G = Graph(g, loops=True, multiedges=True) > > instead of > > G = Graph(g, loops=True, multiple_edges=Tru

[sage-support] maple from sage on mac os

2008-08-23 Thread G. Edgar
I tried this again... -- | SAGE Version 3.1.1, Release Date: 2008-08-17 | | Type notebook() for the GUI, and license() for information.|

[sage-support] Re: square of an inequality

2008-08-23 Thread G. Edgar
> > By the way, I just looked at Wester's article (briefly), and it seems as if > he missed inequalities. Such things, as, say, x+y<=3, x>=0, y>=0 for integer > x and y, should be a part of the standard test, I think. [...] > Can SAGE do that? > What would it mean to do that? --~--~-~--

[sage-support] Re: square of an inequality

2008-08-23 Thread Alec Mihailovs
>> By the way, I just looked at Wester's article (briefly), and it seems as >> if >> he missed inequalities. Such things, as, say, x+y<=3, x>=0, y>=0 for >> integer >> x and y, should be a part of the standard test, I think. [...] >> Can SAGE do that? I meant to solve. The answer should be eith

[sage-support] Re: Plotting jacobi function fails

2008-08-23 Thread David Joyner
I don't know the cause of your problem but the following works for me sage: f1 = lambda x: jacobi("sn",x,1) sage: f2 = lambda x: jacobi("sn",x,2) sage: plot(f1,(x,-3,3)) sage: plot(f2,(x,-3,3)) and hopefully is at least a workaround. On Fri, Aug 22, 2008 at 11:01 PM, Jason Merrill <[EMAIL PRO

[sage-support] showing step by step work

2008-08-23 Thread Brian
Just curious, is there any support for, or any plans to support step by step problem solving? I'm thinking of this tool: http://calc101.com/webMathematica/derivatives.jsp Which shows you that it first used the chain rule, then took the second derivative, then used the quotient rule, etc. It mig

[sage-support] Re: showing step by step work

2008-08-23 Thread Timothy Clemans
No, but you're welcome to implement it. Maybe implement it in SymPy which is written in pure Python and included in Sage. On Sat, Aug 23, 2008 at 1:01 PM, Brian <[EMAIL PROTECTED]> wrote: > > Just curious, is there any support for, or any plans to support step > by step problem solving? I'm thin

[sage-support] Re: Bugs in DiGraph ?

2008-08-23 Thread adrian
I now get it, when I said {1:{1:'hola'}... it understood {1: {1:list('hola') and hence treated hola as a list. I don't recall reading that one should input as a list if one selects multiedges, at least I don't recall seeing an example with that notation. This is, I think a little bit of a t

[sage-support] Latex of a product of polynomials with simplification

2008-08-23 Thread Shing Hing Man
Hi, Consider polynomials f = 1 +t + 2*t^2 g=1+t over R. = PolynomialRing(GF(7)); How to get the Latex expression of fg without expanding the product ? ie (1 + t + 2 t^{2}) (1+t) . latex( fg) returns 2 t^{3} + 3 t^{2} + 2 t + 1 Thanks in advance for any assistance! I am using Sage 3.0,6.

[sage-support] Re: Latex of a product of polynomials with simplification

2008-08-23 Thread William Stein
On Sat, Aug 23, 2008 at 11:38 AM, Shing Hing Man <[EMAIL PROTECTED]> wrote: > > Hi, > > Consider polynomials > f = 1 +t + 2*t^2 > g=1+t > > over R. = PolynomialRing(GF(7)); > > How to get the Latex expression of fg without expanding the product ? > ie (1 + t + 2 t^{2}) (1+t) . You can't do this

[sage-support] Re: Hypergeometric sum

2008-08-23 Thread Alec Mihailovs
>> I came across this example in a recent thread in Maple newsgroup. > > Here is the link, > > http://groups.google.com/group/comp.soft-sys.math.maple/browse_thread/thread/65248f258f5522ad?hl=en# > > Another link, to Mathematica newsgroup, > > http://groups.google.com/group/comp.soft-sys.math.math

[sage-support] Re: Latex of a product of polynomials with simplification

2008-08-23 Thread daveloeffler
> How to get the Latex expression of fg without expanding the product ? > ie (1 + t + 2 t^{2}) (1+t) . Can't one use the Factorization class to do this? I tried > fg = Factorization([(f,1), (g,1)]) and then you can print fg to latex. (I guess the point is that the Factorization class doesn't enf

[sage-support] Re: Hypergeometric sum

2008-08-23 Thread William Stein
On Sat, Aug 23, 2008 at 12:50 PM, Alec Mihailovs <[EMAIL PROTECTED]> wrote: > >>> I came across this example in a recent thread in Maple newsgroup. >> >> Here is the link, >> >> http://groups.google.com/group/comp.soft-sys.math.maple/browse_thread/thread/65248f258f5522ad?hl=en# >> >> Another link,

[sage-support] Re: Hypergeometric sum

2008-08-23 Thread Alec Mihailovs
> What is your point? Actually, I meant that more about Maplesoft. Sage support is usually good in this group, just wasn't very good in this thread. Alec --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe fr

[sage-support] Re: Latex of a product of polynomials with simplification

2008-08-23 Thread John Cremona
David's solution is very clever -- but this is simpler: '('+latex(f)+')('+latex(g)+')' Admittedly rather inelegent! John 2008/8/23 Shing Hing Man <[EMAIL PROTECTED]>: > > Hi, > > Consider polynomials > f = 1 +t + 2*t^2 > g=1+t > > over R. = PolynomialRing(GF(7)); > > How to get the Latex e

[sage-support] Re: Hypergeometric sum

2008-08-23 Thread Ondrej Certik
On Sat, Aug 23, 2008 at 10:08 PM, Alec Mihailovs <[EMAIL PROTECTED]> wrote: > >> What is your point? > > Actually, I meant that more about Maplesoft. Sage support is usually good in > this group, just wasn't very good in this thread. I am sure many people have tried to fix your problem. Certainly

[sage-support] Re: Hypergeometric sum

2008-08-23 Thread William Stein
On Sat, Aug 23, 2008 at 1:18 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > > On Sat, Aug 23, 2008 at 10:08 PM, Alec Mihailovs <[EMAIL PROTECTED]> wrote: >> >>> What is your point? >> >> Actually, I meant that more about Maplesoft. Sage support is usually good in >> this group, just wasn't very go

[sage-support] Re: Hypergeometric sum

2008-08-23 Thread Alec Mihailovs
Ondrej and William, Thank you, it's nice to know about that. Alec --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http

[sage-support] Re: Latex of a product of polynomials with simplification

2008-08-23 Thread Shing Hing Man
Thanks for all the replies! Shing On Aug 23, 9:28 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Sat, Aug 23, 2008 at 12:50 PM, daveloeffler <[EMAIL PROTECTED]> wrote: > > >> How to get the Latex expression of fg without expanding the product ? > >> ie (1 + t + 2 t^{2}) (1+t) . > > > Can't

[sage-support] Re: Hypergeometric sum

2008-08-23 Thread Ondrej Certik
>>> Actually, I meant that more about Maplesoft. Sage support is usually good in >>> this group, just wasn't very good in this thread. >> >> I am sure many people have tried to fix your problem. Certainly I did, >> I tried it in SymPy to see if it's easy for us to fix it, I found a >> bug, I repor

[sage-support] parametric_plot3d and **kwds

2008-08-23 Thread Philippe Saade
Hi Does anybody know where the **kwds are defined in Sage for the command parametric_plot3d (not counting those given by the definition parametric_plot3d(f, urange, vrange=['4ti2-20061025', 'R-2.6.0', 'atlas-3.7.37', 'atlas-3.8.1', 'a..., plot_points='automatic', **kwds) ) Thanks Phi

[sage-support] Re: parametric_plot3d and **kwds

2008-08-23 Thread Philippe Saade
On Sat, Aug 23, 2008 at 11:58 PM, Philippe Saade <[EMAIL PROTECTED]> wrote: > Hi > > Does anybody know where the **kwds are defined in Sage for the command > parametric_plot3d > > (not counting those given by the definition > > parametric_plot3d(f, urange, vrange=['4ti2-20061025', 'R-2.6.0', > 'a

[sage-support] Re: parametric_plot3d and **kwds

2008-08-23 Thread William Stein
On Sat, Aug 23, 2008 at 3:06 PM, Philippe Saade <[EMAIL PROTECTED]> wrote: > > On Sat, Aug 23, 2008 at 11:58 PM, Philippe Saade <[EMAIL PROTECTED]> wrote: >> Hi >> >> Does anybody know where the **kwds are defined in Sage for the command >> parametric_plot3d >> >> (not counting those given by the

[sage-support] Re: parametric_plot3d and **kwds

2008-08-23 Thread William Stein
On Sat, Aug 23, 2008 at 4:46 PM, Philippe Saade <[EMAIL PROTECTED]> wrote: > > On Sun, Aug 24, 2008 at 12:16 AM, William Stein <[EMAIL PROTECTED]> wrote: >> Anything that is not explicitly documented in parametric_plot3d should >> just get passed on to show. >> >> -- William > > Ok ! I'll make my

[sage-support] Re: parametric_plot3d and **kwds

2008-08-23 Thread Philippe Saade
On Sun, Aug 24, 2008 at 12:16 AM, William Stein <[EMAIL PROTECTED]> wrote: > Anything that is not explicitly documented in parametric_plot3d should > just get passed on to show. > > -- William Ok ! I'll make my documentation compliant with that advice. But i've noticed that it is sometimes not