[sage-devel] Re: Sylvester matrix

2010-11-12 Thread luisfe
On Nov 11, 8:54 pm, Tom Boothby wrote: > > However I disagree a little here about the degree of zero polynomial. > > I would expect SylvesterMatrix(x^2, 0) > > > To be > > > [0 0] > > [0 0] > > Why do you expect that? What definition are you using for the Sylvester > Matrix? Well, it seems th

Re: [sage-devel] Re: Sylvester matrix

2010-11-11 Thread Tom Boothby
> However I disagree a little here about the degree of zero polynomial. > I would expect SylvesterMatrix(x^2, 0) > > To be > > [0 0] > [0 0] Why do you expect that? What definition are you using for the Sylvester Matrix? -- To post to this group, send an email to sage-devel@googlegroups.com To

[sage-devel] Re: Sylvester matrix

2010-11-11 Thread luisfe
On Nov 11, 6:52 pm, Tom Boothby wrote: > The empty matrix is NOT the Sylvester matrix of (0,0), (0,1) or (1,0). > > The degree of the zero polynomial is usually taken to be -infinity, > though Sage uses -1 for some reason. In either case, the Sylvester > matrix needs to have negative dimensions

[sage-devel] Re: Sylvester matrix of 2 univariate polynomials

2007-01-30 Thread didier deshommes
Done: http://sage.math.washington.edu/home/dfdeshom/custom/patches/sylvester-matrix.txt didier On 1/30/07, William Stein <[EMAIL PROTECTED]> wrote: > > On Mon, 29 Jan 2007 22:32:50 -0800, didier deshommes <[EMAIL PROTECTED]> > wrote: > > > > > Allo all, > > I have a small patch that returns the

[sage-devel] Re: Sylvester matrix of 2 univariate polynomials

2007-01-30 Thread William Stein
On Mon, 29 Jan 2007 22:32:50 -0800, didier deshommes <[EMAIL PROTECTED]> wrote: > > Allo all, > I have a small patch that returns the Sylvester matrix of 2 univariate > polynomials (computed via PARI) as a Matrix in SAGE. It is available > here: > http://sage.math.washington.edu/home/dfdeshom/cus