polyprod: This function calculates parameters for the polynomials

View source: R/RcppExports.R

polyprodR Documentation

This function calculates parameters for the polynomials

Description

The function accepts two vectors with the parameters for the polynomials and returns the vector of parameters after their multiplication. This can be especially useful, when working with ARIMA models.

Usage

polyprod(x, y)

Arguments

x

The vector of parameters of the first polynomial.

y

The vector of parameters of the second polynomial.

Value

The function returns a matrix with one column with the parameters for the polynomial, starting from the 0-order.

Author(s)

Ivan Svetunkov, ivan@svetunkov.ru

See Also

convolve

Examples


## Not run: polyprod(c(1,-2,-1),c(1,0.5,0.3))


greybox documentation built on Sept. 16, 2023, 9:07 a.m.