Syntax:
leadmonom ( poly_expression ) leadmonom ( vector_expression )
leadmonom (
)
Type:
the same as the input type
Purpose:
returns the leading monomial of a polynomial or a vector as a polynomial or vector whose coefficient is one.
Example:
ring r=32003,(x,y,z),(c,ds); poly f=2x2+3y+4z3; vector v=[2x10,f]; leadmonom(f); → y leadmonom(v); → [x10] leadmonom(0); → 0
See intvec; lead; leadcoef; leadexp; poly; vector.