polysum: compute the sum of two polynomials,

View source: R/polysum.r

polysumR Documentation

compute the sum of two polynomials,

Description

compute the sum of two polynomials,

Usage

polysum(a, b)

Arguments

a

symmetric vector of polynomial coefficients, where a[1] is the zeroth coefficient, a[2] is the first coefficient, etc.

b

symmetric vector of polynomial coefficients, where b[1] is the zeroth coefficient, b[2] is the first coefficient, etc.

Value

symmetric vector of polynomial coefficients for c(z) = a(z) + b(z), where c[1] is the zeroth coefficient, c[2] is the first coefficient, etc.


jlivsey/sigex documentation built on March 20, 2024, 3:17 a.m.