ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 12 Mar 2013 04:01:36 -0500How to calculate element-wise matrix functions in Sagehttp://ask.sagemath.org/question/9902/how-to-calculate-element-wise-matrix-functions-in-sage/In MATLAB one can write:
A = [1,2,3];
B = 2*A.^3;
where B gets element-wise result of the function 2*A.^3 given matrix (or vector) A.
In Sage the notation .^ does not function. How to do this in Sage?
Then how to calculate the element-wise sin(A) in Sage?JPITue, 12 Mar 2013 04:01:36 -0500http://ask.sagemath.org/question/9902/