2.13.1 Introduction to MAT |
M^A, +M, -N, M+N, M-N, M*N, F*M, M*Fwhere M, N are matrices, A is a non-negative integer, and F is a polynomial, with the obvious restrictions on the dimensions of the matrices involved.
Example |
/**/ Use R ::= QQ[x,y]; /**/ N := matrix(R, [[1,2],[3,4]]); /**/ N[1,2]; 2; /**/ N^2; matrix( /*RingDistrMPolyClean(QQ, 2)*/ [[7, 10], [15, 22]]) /**/ x * N; matrix( /*RingDistrMPolyClean(QQ, 2)*/ [[x, 2*x], [3*x, 4*x]]) /**/ N + matrix([[x,x], [y,y]]); matrix( /*RingDistrMPolyClean(QQ, 2)*/ [[x +1, x +2], [y +3, y +4]]) |