e-change-variables-scale

▸ function eChangeVariablesScale (p: number[][], a: number): number[][]

Defined in change-variables/expansion/e-change-variables-scale.ts:29

Returns the exact result (bar underflow / overflow) of performing a change of variables of the form: p(x) <- p(ax).

example

eChangeVariablesScale([[1],[2],[7]], 3); //=> [[9], [6], [7]]

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
anumbera scaling factor, i.e. the a in p(x) <- p(ax)

Returns: number[][]