b-change-variables-translate-x
▸ function bChangeVariablesTranslateX
(p
: bigint[], b
: bigint): bigint[]
Defined in change-variables/bigint/b-change-variables-translate-x.ts:19
Returns the result of performing a change of variables of the form: p(x) <- p(x + b).
example
bChangeVariablesTranslateX([1n,2n,7n], 3n); //=> [1n, 8n, 22n]
Parameters:
Name | Type | Description |
---|---|---|
p | bigint[] | a polynomial with coefficients given densely as an array of bigints from highest to lowest power, e.g. [5n,-3n,0n] represents the polynomial 5x^2 - 3x |
b | bigint | the b in x + b |
Returns: bigint[]