MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / normal

Function normal

test/compute-engine/series.test.ts:37–41  ·  view source on GitHub ↗

The truncated polynomial `Normal(Series(f, x, x0, n))`.

(fLatex: string, x0Latex?: string, n?: number)

Source from the content-addressed store, hash-verified

35
36/** The truncated polynomial `Normal(Series(f, x, x0, n))`. */
37function normal(fLatex: string, x0Latex?: string, n?: number): BoxedExpression {
38 return ce
39 .function('Normal', [ce.function('Series', seriesArgs(fLatex, x0Latex, n))])
40 .evaluate();
41}
42
43/** Assert the truncated polynomial matches an expected LaTeX expression
44 * exactly (structural/symbolic equality of exact coefficients). */

Callers 2

expectPolyFunction · 0.85
series.test.tsFile · 0.85

Calls 3

seriesArgsFunction · 0.85
evaluateMethod · 0.65
functionMethod · 0.65

Tested by

no test coverage detected