Documentation moved.
This entry is now part of the unified function reference. Open the unified page →
Function
src/index.ts:828nerdamer.divide
nerdamer.divide(dividend: ExpressionInput, divisor: ExpressionInput): ExpressionDivides two expressions using polynomial quotient/remainder reconstruction when possible.
remarks
This restores the parser-facing compatibility behavior historically exposed as
`divide(a,b)`: a successful polynomial division is returned as
`quotient + remainder/divisor`, so the result is a reusable symbolic expression. Inputs outside the polynomial domain fall back to ordinary symbolic division. Once both inputs are polynomial, failures from the division engine are allowed to propagate.
Parameters
| Name | Type | Description |
|---|---|---|
dividend | ExpressionInput | — |
divisor | ExpressionInput | — |
