Maybe: sage:def R_theta(theta): return matrix(SR,[[cos(theta),sin(theta),0],[-sin(theta),cos(theta), 0],[0,0,1]]) sage: R_theta(x) [ cos(x) sin(x) 0] [-sin(x) cos(x) 0] [ 0 0 1] sage: R_theta(1) [ cos(1) sin(1) 0] [-sin(1) cos(1) 0] [ 0 0 1] sage: R_theta <function R_theta at 0x5e83848>
Andrzej Chrzeszczyk -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
