Hi Simon - 

  Nice to hear from you.  This discussion of morphisms is pretty 
convincing.  I tried it out, but I think I am doing something wrong. 

sage: Id = matrix([[1,0],[0,1]])
sage: type(Id)
<type 'sage.matrix.matrix_integer_dense.Matrix_integer_dense'>
sage: A = Mat.get_action(Mat, operator.mul); A
Left action by Full MatrixSpace of 2 by 2 dense matrices over Integer Ring 
on Full MatrixSpace of 2 by 2 dense matrices over Integer Ring
sage: A.codomain()
Full MatrixSpace of 2 by 2 dense matrices over Integer Ring
sage: A = Mat.get_action(Mat, operator.inv); A
sage: A.codomain()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-414-ef5880878bbf> in <module>()
----> 1 A.codomain()

AttributeError: 'NoneType' object has no attribute 'codomain'

What am I doing wrong?

best,

saul

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to