change_origin {PolynomF}R Documentation

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

## Default S3 method:
change_origin(p, o, ...)

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

## S3 method for class '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


[Package PolynomF version 2.0-8 Index]