Polynomial valuation: valuation ldegree

### 6.27.9 Polynomial valuation: valuation ldegree

The valuation of a polynomial is the lowest degree of its non-zero monomials. The valuation command finds the valuation of a polynomal.
ldegree is a synonym for valuation.

- valuation takes one argument:
  P, a polynomial given by a symbolic expression or by the list of its coefficients.
- valuation(P) returns the valuation of P.

Examples.

- Input:
  valuation(x^3+x)
  Output:

  1

- Input:
  valuation([1,0,1,0])
  Output:

  1