JavaScript / TypeScript API
This section documents the JavaScript / TypeScript API: the callable nerdamer export, functions and properties attached to it, and symbols imported from Nerdamer package paths. Functions written inside nerdamer('...') are documented separately under Nerdamer Notation.
nerdamer('factor(x^2-1)') // Nerdamer Notation
nerdamer.factor('x^2-1') // function attached to nerdamer
factor('x^2-1') // direct import from nerdamer/algebraSee Choosing how to use Nerdamer for the differences.
nerdamer API
The default import is itself callable and also exposes functions such as nerdamer.pretty(...), nerdamer.setFunction(...), and nerdamer.factor(...).
Direct imports from npm
These pages document public package paths that can be imported directly from JavaScript or TypeScript.
nerdamer/core35 exportsExpressions, equations, numeric values, conversion helpers, errors, and other core building blocks.
nerdamer/algebra27 exportsPolynomial tools, factorization, simplification, rational expressions, and related algebra operations.
nerdamer/calculus11 exportsDifferentiation, integration, limits, sums, products, and Laplace transforms.
nerdamer/solve12 exportsEquation solvers, system solvers, solution containers, and solver options.
nerdamer/structures12 exportsMatrices, vectors, sets, collections, dictionaries, and related operations.
nerdamer/assumptions10 exportsAssumptions attached to symbols and helpers for reading or clearing them.
nerdamer/parser17 exportsProgrammatic parser access and settings for JavaScript and TypeScript. This is separate from Nerdamer expression syntax.
nerdamer/advanced18 exportsAdvanced symbolic tools including complex values and Gröbner-basis operations.
