Handbook
Glossary
p+ ( p q -- r )
Polynomials
Prev:
p= ( p q -- ? )
Next:
p- ( p q -- r )
Vocabulary
math
.
polynomials
Inputs
p
a polynomial
q
a polynomial
Outputs
r
a polynomial
Word description
Adds
p
and
q
component-wise.
Examples
USING: math.polynomials prettyprint ; { 1 0 1 } { 0 1 } p+ .
{ 1 1 1 }
Definition
USING:
math.polynomials.private
math.vectors
;
IN:
math.polynomials
:
p+
( p q -- r )
pextend
v+
;