PolynomF (version 2.0-2)

change_origin: Change origin of a polynomial

Description

Given a polynomial P(x) and a new origin o, find the polynomial Q(x) = P(x + o). I.e. Q(0) = P(o)

Usage

change_origin(p, o, ...)

# S3 method for default change_origin(p, o, ...)

# S3 method for polynom change_origin(p, o, ...)

# S3 method for polylist change_origin(p, o, ...)

Arguments

p

A polynom or polylist object

o

A single numeric quantity specifying the new x-origin

...

currently not used

Value

A polynom or polylist object with x measured from the new origin