Re: [sage-support] Composition of morphisms of affine varieties

2014-11-18 Thread Soli vishkautsan
Thanks, another workaround is to use (f2*f1).post_compose(f3) which also works. The same problem when composing the homogenization of these morphisms. I will add this to trac, unless someone else intervenes :) On Tuesday, November 18, 2014 2:47:33 PM UTC+1, John Cremona wrote: > > On 18 November

Re: [sage-support] Composition of morphisms of affine varieties

2014-11-18 Thread John Cremona
On 18 November 2014 13:38, Soli vishkautsan wrote: > I am trying to compose 3 affine automorphisms of the Markoff surface. > The following code produces an error: > > A. = AffineSpace(QQ,3) > M = A.subscheme([x^2+y^2+z^2-3*x*y*z]) > H = Hom(M,M) > f1 = H([3*y*z-x,y,z]) > f2 = H([x,3*x*z-y,z]) > f3

[sage-support] Composition of morphisms of affine varieties

2014-11-18 Thread Soli vishkautsan
I am trying to compose 3 affine automorphisms of the Markoff surface. The following code produces an error: A. = AffineSpace(QQ,3) M = A.subscheme([x^2+y^2+z^2-3*x*y*z]) H = Hom(M,M) f1 = H([3*y*z-x,y,z]) f2 = H([x,3*x*z-y,z]) f3 = H([x,y,3*x*y-z]) f3*f2*f1 What am I doing wrong? -- You receive