Returns sum of two polynomials.
Returns sum of polynomials; a1 + a2. Input polynomials are represented as an array_like sequence of terms or a poly1d object.
Parameters: | a1 : {array_like, poly1d}
a2 : {array_like, poly1d}
|
---|---|
Returns: | out : {ndarray, poly1d}
|