(caches: Ctx['caches'])
| 412 | const lc0 = polyCoeffsX(L, x); |
| 413 | if (pc0 === null || lc0 === null) return null; |
| 414 | const lc = trimZeros(lc0); |
| 415 | if (lc.length === 1 && zeroQ(lc[0])) return null; // division by zero |
| 416 | let pc = trimZeros(pc0); |
| 417 | const q: Expression[] = new Array( |
| 418 | Math.max(0, pc.length - lc.length + 1) |
| 419 | ).fill(ce.Zero); |