Go to the first, previous, next, last section, table of contents.

### `dp_hm`, `dp_ht`, `dp_hc`, `dp_rest`

`dp_hm(dpoly)`
  :: Gets the head monomial.
`dp_ht(dpoly)`
  :: Gets the head term.
`dp_hc(dpoly)`
  :: Gets the head coefficient.
`dp_rest(dpoly)`
  :: Gets the remainder of the polynomial where the head monomial is removed.

return
  `dp_hm()`, `dp_ht()`, `dp_rest()` : distributed polynomial `dp_hc()` : number or polynomial
dpoly
  distributed polynomial

- These are used to get various parts of a distributed polynomial.
- The next equations hold for a distributed polynomial p.
  `p = dp_hm(p) + dp_rest(p)`
  `dp_hm(p) = dp_hc(p) dp_ht(p)`

    [87] dp_ord(0)$
    [88] X=ptozp((a46^2+7/10*a46+7/48)*u3^4-50/27*a46^2-35/27*a46-49/216)$
    [89] T=dp_ptod(X,[u3,u4,a46])$
    [90] dp_hm(T);
    (2160)*<<4,0,2>>
    [91] dp_ht(T);
    (1)*<<4,0,2>>
    [92] dp_hc(T);
    2160
    [93] dp_rest(T);
    (1512)*<<4,0,1>>+(315)*<<4,0,0>>+(-4000)*<<0,0,2>>+(-2800)*<<0,0,1>>
    +(-490)*<<0,0,0>>

Go to the first, previous, next, last section, table of contents.