[sage-support] question about creating homomorphisms

2011-08-02 Thread Johannes
Hi list i need to construct two morphisms f:ZZ^n \to Z given by a diagonalmatrix and g: ZZ - Z/dZ because I have to find the kernel of the compositoin. consturcting g was no problem by g = ZZ.hom(ZZ.quotient(ZZ.ideal(d))) father, getting the kernel of f as matrix worked too. but how to get the

Re: [sage-support] question about creating homomorphisms

2011-08-02 Thread William Stein
On Tue, Aug 2, 2011 at 12:21 PM, Johannes dajo.m...@web.de wrote: Hi list i need to construct two morphisms f:ZZ^n \to Z given by a diagonalmatrix and g: ZZ - Z/dZ because I have to find the kernel of the compositoin. consturcting g was no problem by g = ZZ.hom(ZZ.quotient(ZZ.ideal(d)))