p-sq ( p -- p^2 )
Polynomials

Prev:p* ( p q -- r )
Next:p^ ( p n -- p^n )


Vocabulary
math.polynomials

Inputs
pa polynomial


Outputs
p^2a polynomial


Word description
Squares a polynomial.

Examples
USING: math.polynomials prettyprint ; { 1 2 0 } p-sq .
{ 1 4 4 0 0 }


Definition