OK, i get it now, checking the doc gives me the following answer :

sage: M=matrix([(1, -3, -1),(0, 1, 1),(-1, 2, 1)])
sage: R.<X> = QQ[]                                
sage: P=X^2                                       
sage: P.subs(M)                                   
[ 2 -8 -5]
[-1  3  2]
[-2  7  4]
sage:

-- 
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
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