polymult: polymult function

View source: R/splineFunctions.R

polymultR Documentation

polymult function

Description

A function to multiply two polynomials in the form of vectors of coefficients. The first element of the vector being the constant (order 0) term

Usage

polymult(poly1, poly2)

Arguments

poly1

a vector of coefficients for the first polynomial of length degree plus 1

poly2

a vector of coefficients for the second polynomial of length degree plus 1

Value

the coefficients of the product of poly1 and poly2


spatsurv documentation built on Oct. 19, 2023, 9:07 a.m.