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

Function fuLatex

test/compute-engine/fu.test.ts:58–62  ·  view source on GitHub ↗
(latex: string)

Source from the content-addressed store, hash-verified

56
57// Helper to simplify with Fu and return LaTeX
58function fuLatex(latex: string): string {
59 const expr = ce.parse(latex);
60 const result = fuSimplify(expr);
61 return result.latex;
62}
63
64describe('Fu Cost Functions', () => {
65 test('countTrigFunctions', () => {

Callers

nothing calls this directly

Calls 2

fuSimplifyFunction · 0.90
parseMethod · 0.65

Tested by

no test coverage detected