Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

## 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

Polynomials in R

v2.0-3
GPL-2
Authors
Bill Venables, with contribution by Kurt Hornik and Georgi Boshnakov
Initial release
2020-02-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.