/** * Returns the result of elevating the given polynomial by the given degree. * * @param p * @param deg * * @internal */ function bElevateDegree(p: bigint[], deg: number): bigint[] { const p_ = p.slice(); for (let i=0; i