MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / polynomials.test.ts

File polynomials.test.ts

test/compute-engine/latex-syntax/polynomials.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { engine, expressionError } from '../../utils';
2
3function evaluate(expr: string): string {
4 return engine.parse(expr).evaluate().toString();

Callers

nothing calls this directly

Calls 10

expressionErrorFunction · 0.90
evaluateFunction · 0.70
evaluateMethod · 0.65
exprMethod · 0.65
parseMethod · 0.65
mulMethod · 0.65
isSameMethod · 0.65
toStringMethod · 0.65
mapMethod · 0.65

Tested by

no test coverage detected