Documentation moved.
This entry is documented with its primary interface. Open the documentation →
Function
src/index.ts:1029nerdamer.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.
