b-change-variables-linear
▸ function bChangeVariablesLinear
(p
: bigint[], a
: bigint, b
: bigint): bigint[]
Defined in change-variables/bigint/b-change-variables-linear.ts:20
Returns the result of performing a change of variables of the form: p(x) <- p(ax + b).
example
bChangeVariablesLinear([1n,2n,7n], 3n, 4n); //=> [9n, 30n, 31n]
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 |
a | bigint | the a in ax + b |
b | bigint | the b in ax + b |
Returns: bigint[]