next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: MatrixDegreeExpression

MatrixDegreeExpression -- the class of all matrix expressions with prescribed degrees

Description

MatrixDegreeExpression is a type of Expression representing a matrix with specified degrees of sources and targets, i.e., a general map between free modules.

i1 : R=QQ[x,y];
i2 : MatrixDegreeExpression {applyTable({{x^2-y^2,x^3-y^3},{x^2-4*y^2,x^3+y^3}},factor),{{-2},{-3}},{{0},{0}}}

o2 = {-2} | (x-y)(x+y)   (x-y)(x2+xy+y2) |
     {-3} | (x-2y)(x+2y) (x+y)(x2-xy+y2) |

o2 : Expression of class MatrixDegreeExpression
i3 : value oo

o3 = {-2} | x2-y2  x3-y3 |
     {-3} | x2-4y2 x3+y3 |

             2       2
o3 : Matrix R  <--- R

See also

For the programmer

The object MatrixDegreeExpression is a header type, with ancestor classes Expression < BasicList < Thing.