looking at the code in ticket 7458 (link:http://trac.sagemath.org/
sage_trac/attachment/ticket/7458/sylvester.patch)

ive tried to calculate the sylvester matrix of a given f and g (polys
of (x,a)) and its deteminant (with respect to a) with the following
code

R.<x,a> = PolynomialRing(ZZ)
f = x^5 + 3*x^4 - 2*x^3 - 3*x^2 - a*x - 5
g = x^5 + 7*x^4 - 5*x^3 + a*x^2 + x - 8
M = f.sylvester_matrix(g,x)
print M
syldet=f.sylvester_matrix(1 + g, x).determinant()
det=M.determinant()
print syldet
print det

however sage doesnt seem to recognise the sylvester_matrix command
any help

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to