Learn R Programming

PolynomF (version 2.0-8)

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, ...)

Value

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

Arguments

p

A polynom or polylist object

o

A single numeric quantity specifying the new x-origin

...

currently not used