have been experimenting with
the past month: https://bitbucket.org/niels_mfo/sage-citation
I also have a blog about these experiments: http://sage-citation.blogspot.com
Cheers,
Niels Ranosch
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an ema
Thanks :-)
On Tue, Nov 16, 2010 at 1:02 PM, luisfe wrote:
>
>
> On Nov 16, 12:28 pm, Niels wrote:
> > Hi,
> >
> > I would like to compute the gcd of two bi-variate polynomials over a
> number
> > field:
> >
> > sage: R = PolynomialRing(
Kind regards,
Niels
On Tue, Nov 16, 2010 at 12:28 PM, Niels wrote:
> Hi,
>
> I would like to compute the gcd of two bi-variate polynomials over a number
> field:
>
> sage: R = PolynomialRing( QQ, var( 't' ), order = 'lex' )
> sage: t = R.gens()[0]
don't work over this ring)
sage: gcd( [( a0 + 1 ) * x , ( a0 + 1 ) * x * y] )
---
AttributeError Traceback (most recent call last)
/home/niels/ in ()
/home/niels/Desktop/n/app/sage/local/lib/python2.6/site-packages/s
T.gens()[0]
sage: t = R1.gens()[0]
sage: poly = t^3 + (-4*a0^3 + 2*a0)*t^2 - 11/3*a0^2*t + 2/3*a0^3 - 4/3*a0
sage: poly.factor()
(t - 2*a0^3 + a0) * (t^2 + (-2*a0^3 + a0)*t - 2/3*a0^2)
sage: fact = poly.factor()[1][0]
sage: fact.factor()
(t - 4/3*a0^3 + 2/3*a0) * (t - 2/3*a0^3 + 1/3*a0)
Kind regard
k that symbolic expressions don't mean so much if the ring is
not specified (or is it?).
This is in my opinion very confusing.
Kind regards,
Niels
--~--~-~--~~~---~--~~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this gro