e-change-variables-translate-x

▸ function eChangeVariablesTranslateX (p: number[][], b: number): number[][]

Defined in change-variables/expansion/e-change-variables-translate-x.ts:25

Returns the exact result (bar undeflow / overflow) of performing a change of variables of the form: p(x) <- p(x + b) on the given polynomial (with coefficients given as Shewchuk expansions).

Parameters:

NameTypeDescription
pnumber[][]a polynomial with coefficients given densely as an array of Shewchuk floating point expansions from highest to lowest power, e.g. [[5],[-3],[0]] represents the polynomial 5x^2 - 3x
bnumberthe b in x + b

Returns: number[][]