lead.one

Description

Function to add (or remove) a leading unity matrix to (from) an array (being an array representation of ar- or ma-polynomial).

Usage

1
lead.one(polyn = NULL, add = 0)

Arguments

polyn

an input polynomium (an array).

add

indicator for adding or removing unity matrix: +1 = add leading unity matrix, -1 = remove leading matrix.

Value

changed array (with leading unity matrix inserted or removed).