change_origin: Change origin of a polynomial

View source: R/PolynomF.R

change_originR 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


PolynomF documentation built on May 2, 2022, 9:07 a.m.