ptrim ( p -- q )
Polynomials

Prev:pextend-conv ( p q -- p' q' )
Next:2ptrim ( p q -- p' q' )


Vocabulary
math.polynomials

Inputs
pa polynomial


Outputs
qa polynomial


Word description
Trims excess zeros from a polynomial.

Examples
USING: math.polynomials prettyprint ; { 0 1 0 0 } ptrim .
{ 0 1 }


Definition