Documentation moved.
This entry is now part of the unified function reference. Open the unified page →
Function
src/index.ts:823nerdamer.factor
nerdamer.factor(x: ExpressionInput): ExpressionFactors polynomial-like numerator and denominator components of an expression.
remarks
The implementation converts polynomial structure to the exact integer-coefficient factorization layer. Irrational constants and function-valued components may be temporarily represented by substitution variables. If the input cannot be handled by that finite polynomial path, the function returns an unevaluated symbolic
`factor(input)`expression rather than exposing the internal failure.
Parameters
| Name | Type | Description |
|---|---|---|
x | ExpressionInput | Expression-compatible value to factor. |
Returns
Expression — A factored expression or an unevaluated symbolic `factor` call.
