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

Function N

test/utils.ts:116–118  ·  view source on GitHub ↗
(latex: string)

Source from the content-addressed store, hash-verified

114 return exprToString(engine.parse(latex)?.N());
115}
116
117export function simplify(latex: string): string {
118 return exprToString(engine.parse(latex)?.simplify());
119}
120
121type ExprVariant =

Callers 5

run_sympyFunction · 0.50
sampleFunction · 0.50
mainFunction · 0.50
sampleFunction · 0.50
run_sympy.pyFile · 0.50

Calls 3

exprToStringFunction · 0.85
NMethod · 0.65
parseMethod · 0.65

Tested by

no test coverage detected