next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SparseResultants :: exponentsMatrix

exponentsMatrix -- exponents in one or more polynomials

Synopsis

Description

i1 : QQ[x,y,z];
i2 : f = (x^2 - 7 + x*y*z^11 + y, -3*y^7*z + x^3*y + 5*x^2);
i3 : exponentsMatrix(f_0)

o3 = | 0 0 1  2 |
     | 0 1 1  0 |
     | 0 0 11 0 |

              3        4
o3 : Matrix ZZ  <--- ZZ
i4 : exponentsMatrix(f_0,f_1)

o4 = (| 0 0 1  2 |, | 0 2 3 |)
      | 0 1 1  0 |  | 7 0 1 |
      | 0 0 11 0 |  | 1 0 0 |

o4 : Sequence
i5 : exponentsMatrix(f_0,f_1,Unmixed=>true)

o5 = | 0 0 0 1  2 3 |
     | 0 1 7 1  0 1 |
     | 0 0 1 11 0 0 |

              3        6
o5 : Matrix ZZ  <--- ZZ

See also

Ways to use exponentsMatrix :

For the programmer

The object exponentsMatrix is a function closure.